-
Notifications
You must be signed in to change notification settings - Fork 23
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
Feat/54 add an introduction textarea #932
Conversation
dc1b1f9
to
052da12
Compare
Very nice, two thoughts that might be worth to discuss with @nextcloud/designers :
|
@grnd-alt I think we're supposed to have this introduction textarea in both the "Create table" and "Edit table" modals. Similarly to the way we have the "Title". @juliushaertl said:
Yes, the editor should be read-only when viewing a table. But we don't need a button to toggle edit, imo. We should handle this in the "Edit table" modal instead. |
3b10e16
to
34b8b05
Compare
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.
- The editor is not collaborative, so maybe we want to make it read only by default with a button to toggle to edit
- From my perspective it would be nicer to left-align as we do it in the files app with the folder description
Agree with both of @juliushaertl’s points. Actually a great example of how this could look is the Forms app:
View mode
Edit mode
74e7a71
to
f87357f
Compare
@jancborchardt |
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.
@grnd-alt nice, thanks for both the suggestions! :)
- A little bit of moving the description can already achieve a lot, like below when the text is left-aligned with the text of the table below (see modified screenshot below)
- The radio button is a bit huge there and not super needed. I would say an "Edit"/"Done" button in the top right like we have in Collectives is better in this case.
- Is "Hide" a requirement? If so, we can do that via a simple collapsing arrow like we do in Collectives too for the "Recent pages" section
- Can we somehow hide the "Show outline" button in view mode, it is not needed here. cc @juliushaertl
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.
Seems good to me! Not 100% sure about the placement of the "Edit" button but there’s so many options that I think just getting it in now is better. :) @juliushaertl?
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.
Small comments, otherwise this looks good 👍
308b5bb
to
f890601
Compare
@jancborchardt I find it very confusing to have an edit button just for the single "description" field. Then a separate button that edits the title in a separate place. Then no way to add a description when creating a table. As a user, I would expect to be able to add a description when creating a table. And to either have a single button to edit everything at once or to be able to inline edit everything. Having a mix feels weird. Maybe it's just me |
f890601
to
22b79ac
Compare
@enjeck yeah you are right – so then should we move the description box editing (and adding) into the modal? And on the tables page we show it read-only, just like we do for the title? |
22b79ac
to
69a54c4
Compare
ac14dfa
to
1f87bac
Compare
2fd4ce9
to
4472313
Compare
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
move Table Description to EditTable add tables Description to createTable Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
970e045
to
0febcbe
Compare
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.
for the PHP bits :)
This looks good to me too. Thanks, @grnd-alt |
@juliushaertl your change request is still active |
Summary
introduce a description editor at the top similar to Files
Screenshots:
Viewing a Table:
Creating a Table:
Editing a Table:
Checklist