Comments (6)
If I can make a suggestion, I think a simple 'Edit' text next to 'Remove' would be more clear.
There is one big problem: how do you handle multiple buttons (e. g. edit + remove) in localised contexts with longer words (e. g. bearbeiten + löschen)?
from association_ui_editor.
Hi Nils,
I got the same issue => Editor icon not visible on Editor (Create new), and I still can click the editor on the left of item, But when i reorder the items then the editor link disappear.
from association_ui_editor.
That seems to be a CSS issue: the icon is a background image.
I'll check that. Thanks!
from association_ui_editor.
There is one big problem: how do you handle multiple buttons (e. g. edit + remove) in localised contexts with longer words (e. g. bearbeiten + löschen)?
Then maybe an 'x' icon for remove and a 'pen' icon for edit but both in the same place (on the right).
That way you can put padding-right
on the value span so that the absolute positioned icons don't float above the text value (another issue - right now if the value is long 'Remove' floats above it).
from association_ui_editor.
.field[data-editor='aui-editor'] .multi .item,
.field[data-editor='aui-editor-new'] .multi .item {
padding-left: 1.3rem;
background-position: 1rem center;
}
.aui-editor-trigger {
position: absolute;
top: 0.5rem;
left: -0.5rem;
overflow: hidden;
width: 2.8rem;
height: 2rem;
text-indent: -1000em;
border: none;
background-image: url(editor.svg);
background-repeat: no-repeat;
background-position: 80% center;
background-size: 0.8rem 10rem;
cursor: pointer;
}
CSS isusse solved.
But when reorder items the editor link disappear i'm sure that's javascript issus.
from association_ui_editor.
If the assosiation editor is 'Editor' the editor icon is shown with the css selector
The CSS issue should be solved here: 95b9da7
Then maybe an 'x' icon for remove and a 'pen' icon for edit but both in the same place (on the right).
I'd like to keep the interface consistent with the core, so I'm not fond of replacing the the remove link with an icon. See #7.
Still, using an icon to open a secondary layer is fine in my eyes because it's a different kind of action. This action is about opening a associated page on top of the current one and although you can edit data on that page, I think an icon referencing that page fits best here. So I'd like to stick with it instead of a pen (I know a pen is often used for editing, but it doesn't make sense at all: we don't use pens, we type).
(another issue - right now if the value is long 'Remove' floats above it)
Good catch. Will add a separate issue for that.
from association_ui_editor.
Related Issues (20)
- aui-editor padding HOT 2
- Incorrect Minimum Editor Height HOT 5
- Association Editor 'Create New' doesn't allow editing HOT 2
- Overlapping Remove Action
- Sorting Conflicts HOT 2
- Add Documentation to Readme
- Child Association Headers suggestion HOT 15
- Editor Icon Missing HOT 17
- Create new Child Association button expands whole row
- Suggestion: Different edit icon HOT 4
- Minor error when changing the association source with pre-existing entries HOT 2
- Can't edit an entry after selection until the section entry is saved HOT 7
- 'Create new' overlay trigger from any field HOT 2
- Drawer shown in Editor
- Create New doesn't handle multiple sections HOT 1
- 2.6.7 support?
- Suggestion: Busy animation
- PHP 7.2 – $provides must be protected (as in class Extension) HOT 1
- Closing Causes Error in Webkit HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from association_ui_editor.