-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support edit in Quick Edit Model #987
Conversation
-add handleSaveEdit -display the changes correctly with original values in tool tip Task: clearlydefined#956
-SourceLocationPicker is the presentation UI -SourcePicker is the container, containing the state and on change handlers
SourceLocationPicker -sync activeProvider with props to handle display of non github source location -add an internal state of selected component. No need to pass in selected component from props (to simplify the interface with containers). Integrate SourceLocationPicker in QuickEditModel -also adjust styling so SourceLocationPicker looks ok inside QuickEditModel -support saving source location edit
To allow contribution from the main page after editting.
✅ Deploy Preview for blissful-goodall-fa23f6 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Moved source-picker id tag to inside SourceLocationPicker The container padding related css is moved outside the #source-picker block.
It is noted that there are three ways to edit a component currently:
In addition, behaviour after edit at the three places look different as well. In workspace page (PageDefinition), components are refreshed after contributions; whereas refresh does not happen after contribution in PageBrowse or FullDetailPage. This can be another future topic to look into. |
@disulliv any more improvements needed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Added ui support to allow edit in Quick Edit Model.
Also added buttons in PageBrowse (main page) to allow contribution after edit.
Task: #956