Merge lp://staging/~hyuchia/pantheon-files/fix-1124209 into lp://staging/~elementary-apps/pantheon-files/trunk

Proposed by Diego Islas Ocampo
Status: Rejected
Rejected by: Danielle Foré
Proposed branch: lp://staging/~hyuchia/pantheon-files/fix-1124209
Merge into: lp://staging/~elementary-apps/pantheon-files/trunk
Diff against target: 373 lines (+154/-124)
4 files modified
src/CMakeLists.txt (+2/-2)
src/Dialogs/PropertiesWindow.vala (+65/-46)
src/View/Widgets/PermissionButton.vala (+0/-76)
src/View/Widgets/PermissionComboBox.vala (+87/-0)
To merge this branch: bzr merge lp://staging/~hyuchia/pantheon-files/fix-1124209
Reviewer Review Type Date Requested Status
Jeremy Wootten code Approve
elementary UX ui Pending
Review via email: mp+318296@code.staging.launchpad.net

Description of the change

Modified the Permissions Labels for directories while keeping the previous ones for files.

To post a comment you must log in.
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Some minor code style issues (see inline) comments. Also needs merging with latest trunk to remove irrelevant diff contents.

The code is otherwise OK for this solution, however UX input is needed on the wording and whether this is an acceptable interim solution. The word "Modify" is problematic - it implies you can modify the files inside but you can only create and delete them. I am not sure what single word would convey this and "Create/Delete files" would be too long. Ideally, the buttons need replacing with comboboxes as per Dan's mockup in the bug report. This would allow space for more meaningful descriptions of the permissions on directories. However, that is not strictly within the scope of the bitesize bug. Maybe use tooltips for the buttons?

review: Needs Fixing (code)
Revision history for this message
Diego Islas Ocampo (hyuchia) wrote :

Ok so using combo boxes instead of buttons, the options required would be:
- Read
- Write
- Execute
- Read and Write
- Read and Execute
- Write and Execute
- Read, Write and Execute

Is that right? Oh and you are right about the code style issues, my bad.

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Hi Diego, you would need a "No access" option as well and the exact wording would have to be decided by the design team. For example "Read only" might be preferred. Also you would need a different set for folders. I'll ask someone from the design for comment.

2509. By Diego Islas Ocampo

Replace permission grid buttons with comboboxes

2510. By Diego Islas Ocampo

Fix po merging issues

2511. By Diego Islas Ocampo

Merge from trunk

2512. By Diego Islas Ocampo

Fix directory determination

2513. By Diego Islas Ocampo

Remove explicit 'this' markers

Revision history for this message
Diego Islas Ocampo (hyuchia) wrote :

All right, so I managed to replace the grid buttons with the combo boxes and make them actually work, as well as merging with the latest trunk. Now I'll wait for the UX team to take a look since the wording and order of the options is up to them I guess. Codewise I'm not sure if that's the best solution but I think it's ok. Thanks!

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

A few inline comments.

2514. By Diego Islas Ocampo

Remove unnecessary unowned declarations and improve no access labels

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Another small inline comment but basically waiting for UX team approval of wording now.

2515. By Diego Islas Ocampo

Keep consistency on permission labels

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

When a mixture of files and folders is selected, the wording for permissions is that for files - but I cannot see any better alternative.

review: Approve (code)
Revision history for this message
Danielle Foré (danrabbit) wrote :

It seems like we have a problem where we've made it easier to read which permissions are being applied but we made it much harder to set those permissions. I think this probably needs from more thought from UX team. In the interest of moving to GitHub in a timely manner, I'm going to reject this branch for now. Please re-propose there

Unmerged revisions

2515. By Diego Islas Ocampo

Keep consistency on permission labels

2514. By Diego Islas Ocampo

Remove unnecessary unowned declarations and improve no access labels

2513. By Diego Islas Ocampo

Remove explicit 'this' markers

2512. By Diego Islas Ocampo

Fix directory determination

2511. By Diego Islas Ocampo

Merge from trunk

2510. By Diego Islas Ocampo

Fix po merging issues

2509. By Diego Islas Ocampo

Replace permission grid buttons with comboboxes

2508. By Diego Islas Ocampo

Remove unnecessary parameters

2507. By Diego Islas Ocampo

Add different permission labels to folders

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches