Giter Club home page Giter Club logo

association_ui_editor's People

Contributors

animaux avatar emanshaun avatar nilshoerrmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

association_ui_editor's Issues

Editor icon not visible on Editor (Create new)

If the assosiation editor is 'Editor' the editor icon is shown with the css selector:

.field[data-editor='aui-editor'] .item

but the data-editor for Editor (Create new) is aui-editor-new.

If I can make a suggestion, I think a simple 'Edit' text next to 'Remove' would be more clear.

Thanks

'Create new' overlay trigger from any field

Fun one: With focus in any field (i.e. an unrelated one) hitting enter triggers the Create new overlay.

Naturally you need the Editor (Create new) option selected.

Incidentally would this maybe be better suited as link text, rather than a button? As it is it shares perhaps a tad too much prominence with the primary Save Changes/Create Entry CTA.

screen shot 2014-08-01 at 22 45 53

Workflows

Dear @hananils/association-ui-funders,

In order to build this editor it would be nice, if you could give us a few insights how you'd like to use inline editing:

  • Are you primarily editing existing entries?
  • Are you most likely using the editor to create new associations?
  • How complex are your associations? Do you rely on nested associations (entries linking to entries that are linking to entries …)?
  • Is there anything important we should keep in mind?

Thanks!

Sorting Conflicts

If an associative field has sorting enabled, events are conflicting:
The sorting breaks the opening action.

Associative URL

From #2:

Would love if deep-linking/pre-populating was considered. Would it be possible to deep link to a parent entry, but trigger the associations interface to open (and potentially default data?). Not necessarily a requirement, but interesting to know if it'd be possible!

Icon Positioning

When a selector has an existing value the input is pushed to the right (I assume to simulate the cursor being placed after the value), however this doesn't account for the icon (only visible when the association is saved), and so ends up with unexpected positioning. When the icon isn't there (before you save the entry) it's positioned as expected.

See mazedigital/association_ui_selector#14.

Suggestion: Busy animation

Some customers are confused as to what is happening when they submit an entry, especially with a download that might take some time, and there is a period of no feedback.

My suggestion is to replace the the submit button with an animation as soon as it’s clicked. Upon reload it will be replaced with a new one then anyway. This will make it clear there is something happening. Could as well be applied to the whole overlay.

Create New doesn't handle multiple sections

When have an Association field that relates to many sections, the "Create New" button doesn't know how to handle this. Clicking on 'Create New' in this scenario opens the modal with the below error:

screen shot 2016-01-19 at 8 38 07 pm

Suggestion is that something similar to the With Selected interface could be created, where a select box is added next to the button with the possible section values. Selecting one of these and then Create New would open the modal based off that section.

Append new items

Not sure if this should be handled by this extension or by hananils/association_ui_selector.

PHP 7.2 – $provides must be protected (as in class Extension)

I get the following error when trying to install this extension in an PHP 7.2 environment:

Fatal error: Access level to extension_association_ui_selector::$provides must be protected (as in class Extension) or weaker in /is/htdocs/wp11073211_5RUB980JDE/www/symphony-php-72/extensions/association_ui_selector/extension.driver.php on line 0

Minor error when changing the association source with pre-existing entries

Again, I hope this is in the right place!

Let's see if I can remember my exact workflow:

I had an association field set up to a section, and an entry already saved. I edited the section to change the association to a different section. When editing the existing entry the association now reads 1, I removed it, created a new entry using the 'Create new' button (using the Editor (Create new) option), successfully create the entry (I get a success message within the overlay), however I get an error in the main header:

Some errors were encountered while attempting to save.

And the association isn't created. I was able to then search and select the new entry and successfully save the entry.

So it all worked out in the end, but had a couple of bumps along the way. The error in the Symphony logs is:

01/08/2014 21:48 > Fatal Error: Javascript - Uncaught TypeError: undefined is not a function in file http://localhost:8888/stubbington_ark/extensions/association_ui_editor/assets/aui.editor.publish.js on line 177

Editor Icon Missing

I don't see the icon in Chrome: Version 36.0.1985.125 on OSX Mavericks
I see the icon in: Firefox v30
I don't see the icon in: Safari 7.0.5 (9537.77.4)

See #16.

Reference how it should look like:

bildschirmfoto 2014-07-31 um 09 12 35

Suggestion: Different edit icon

(I get a bit confused about which extension does what, apologies if this is in the wrong place)

I've only just updated everything to the latest versions, and I may be alone, but I literally only just found out by accident that the document icon is for editing the associated entry - purely by accident. If anything I'd expect it to be the 'new entry' button… however I didn't realise it was a button at all… Perhaps because it's greyed out slightly I assumed it was just a decoration icon. It doesn't say 'click me to edit this entry' to me. What do others think, just me?

Would something with a pencil not be a little clearer? I'm guessing you're going for a slightly different metaphor than 'edit', more like 'view this entry'? At the moment it's the kind of thing I feel I'd have to explain to a client, not that it would take much explaining :)

Overall it's working great by the way Nils - you guys have done a fantastic job! It really does revolutionise the backend.

Can't edit an entry after selection until the section entry is saved

So I was playing around with an Association field and noticed that if I have just selected an item from the Selectize box the edit icon appears but I can't actually click it to edit the entry until I have saved the parent Section entry. Is this standard behaviour or should it edit in realtime upon selection?

Create new Child Association button expands whole row

I accidentally clicked an area outside of the association select UI and it opened a page on top as if creating an new association.

Should we isolate the Create New to just the button area and not the whole row? So that it's inline with other button actions in the backend.

Incorrect Minimum Editor Height

In Chrome on Mac the bottom border of aui-editor-page is not visible because of the max-height and overflow:hidden of the #contents div.
The above are inline styles which are being applied when I click 'Create New' association.

aui-editor padding

aui-editor has padding: 1rem 0 0 1.8rem; but I think it shoud be padding: 1rem 1.8rem 0 1.8rem; for the editor to have the same spacing on the right side of the page as on the left.

Drawer shown in Editor

After saving an associated entry edited in Editor in an entry with shown drawer, the associated entry in Editor also displays its drawer. While this is probably aligned with the default publish features, it is visually confusing.

Maybe the drawer should be omitted for the Editor.

screenshot from 2014-10-22 07 52 01

Child Association Headers suggestion

Hi Nils,

Looking at the UI as it stands, I think it's looking and feeling great. I still think that an icon/more visual prompt to edit should be considered. Will get me thinking cap on to suggest one or two things here.. I know Icons aren't really the Symphony way so it needs to fit into the current scheme of UI presentation.

The other thing that has cropped up for me is the depth issue when you have a child association which in turn has it's very own association:

screen shot 2014-08-01 at 09 27 11

We really do lose quite a bit of screen real estate when it goes deeper. What if we collapsed the UI down to a minimum for nested associations and used something similar to the below to navigate back up the tree?

nested-associations

Just a thought really.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.