-
Notifications
You must be signed in to change notification settings - Fork 9
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
Follow-on items on ViewManager
release
#3829
Open
10 of 14 tasks
Comments
Opened branch https://github.com/xh/hoist-react/tree/viewManagerFollowUps to collect a few of the immediate "quick-wins" here and review/merge in a consolidated way |
6 tasks
Thanks for this fantastic write-up Anselm -- I pushed a fix to the tree construction, and am now looking at the dynamic loading |
NOTE: Added toolbox branch under the same name |
Reopening |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tracking several follow-on enhancements and fixes to
ViewManager
Bugs
Bug - reverting changes to default view does not work if there are no other saved views, due to early out in
selectViewAsync
Fixed in branch
Bug - Folder names are incorrect when depth > 2.
Fixed in branch
Enhancements
Add ability to persist and restore user's
pendingValue
state - the dirty state of the persisted components - so changes to views can be sticky even without being saved. This state would be persisted via the VMM's ownpersistWith
provider - so not saved back to JSONBlobs.When initially loading VMM, list JSONBlobs without values, then make async call to server to get value for selected view at selection time. Avoids eagerly loading large blocks of state on app init for use cases with many large saved views. Also reduces chance of having a stale view, or worse saving a change to a shared view that overwrites a more recent change.
Fixed in branch
When
showSaveButton != 'never'
, show the save button next to the menu even if the default or other view is selected that cannot be saved directly in place. For these views, the button should trigger the "save as" dialog, but is still useful as a dirty indicator and to allow users to persist their changes.Add option to show "Revert" button next to top-level menu + save button. Could take same triplet of options -
always|whenDirty|never
. Could default tonever
.Add option to place save/revert buttons to left of main menu button vs right, for usages that have viewManager at far right edge of a toolbar. Not sure what to call it -
buttonSide
a bit too weird, since everything is actually a button....Revisit language around "shared" views. Consider a term like "published" or "global" when referring to globally available shared views that appear in the menu (currently our only form of sharing), to make more room for future "sharing" implementations that might be more along the lines of "send a copy of this view to another user, or let other users find this view to copy".
Remove context menu in Manage Views dialog grid and fix to standard grid sizing mode. (Grid used here more as a direct UI control than a data grid - check other usages like column chooser)
Need to decide about what we show for buttons when when user is in 'autosave' mode. The save button "flashing" its appearance (
whenDirty
) or enabled state (always
) could be considered a feature or a bug. _Greg and I decided this was a bug -- we just hide the buttons when autosaving _Larger Topics
The text was updated successfully, but these errors were encountered: