objecthub-io / ObjectHub

ObjectHub is an open repository for software objects and a development platform.
2 stars 1 forks source link

Renaming Object by clicking on object name in the left panel does not reflect the name change everywhere #245

Closed panditthecoder closed 7 years ago

panditthecoder commented 7 years ago

Another issue - usability

I clicked on the object name in the left panel (not in the browser section) and edited the name. clicked on the 'tick' mark to accept the change. the name changed in that panel but did not change in browser panel (see image) change_object_name_by_editing_name_link

Logged out and back in and the changes were showing correctly. (see image).
correct_view_signout_sign_in_change_object_name_by_editing_name_link

realized that i had not checked the recent tab. wet there and it was showing the correct name. however, that was because I had logged out and back in. so went back to the 'my objects' tab, clicked on the object to bring it to the left pane for editing, and changes the name again - as expected, the name change did not reflect in the 'my Objects' list but did reflect in the 'recent tab when i clicked on it. (see image) object_name_change_not_reflected_here_but_is_reflected_in_recent_tab_see_next_image

and lastly, went back to the my Objects tab to ensure that moving between tabs did not refresh the data but it yet showed the old name (see image) next_image_as_promised

IMHO, allowing users multiple ways to achieve the same objective (in this case renaming) is a recipe for disaster unless the objects are encapsulated perfectly and changes in one object trigger all related changes. Why do you need the ability to rename the object by clicking on the name - and if it is so, why not just call the same routine (not sure if it is being done or not) for rename in the browser ?

After typing the previous sentence, just for kicks, I went to the browser section to check if the rename was working correctly. clicked on the same object and clicked the 'Rename' icon. renames the object and as expected, it changed the name of the object in the 'My Objects; list as well as in the 'edit code' window. However, when i clicked on the 'recent' tab, the old name yet showed up. (see image) rename_from_browser_works_for_my_objects_but_not_for_recent

so in a nutshell.

I have not check the 'pin' functionality - suggest you check that as well while fixing it.

objecthub-io commented 7 years ago

Thank you for reporting this issue.

We could confirm it and will fix it.

objecthub-io commented 7 years ago

This should now be fixed. Renaming from object screen and browser should update in the respective other place.

panditthecoder commented 7 years ago

works as expected. can be closed

objecthub-io commented 7 years ago

Thank you for testing again - closing this issue now.