Viewing Views #624
Replies: 5 comments 9 replies
-
@ghislaineguerin There is no prototype linked. |
Beta Was this translation helpful? Give feedback.
-
@ghislaineguerin Looks good! Feedback: (1) I like the colors for indicating the different tables that a column comes from. :) (2) I think "referenced entities" may not be very accessible. I think we should try and find a simpler label for that. I do like the functionality. (3) I'm not sure what "Referenced Column Options" is. Is it an option to completely change the column that's at the position? I'm not sure if it's necessary. (4) Should we have an option to reorder columns (e.g. using drag and drop)? We can do this for views (but it's not recommended for tables). (5) I'm wondering if we can consolidate the "Save" and "Save as New" buttons somehow so that they don't take up as much space. |
Beta Was this translation helpful? Give feedback.
-
Overall, I think this looks great. I think the hierarchical way that you've shown the things referenced by the view in the "referenced entities" UI is quite intuitive. W.r.t. the "referenced entities" terminology, I agree with @kgodey that this might confuse some users. Unfortunately, the "proper" term for the type of entities referenced in a view would be "relations", giving "referenced relations". I don't think that would be much better, but I don't have a better name for the general class of objects that can be referenced by a view. Given the way it's portrayed, you might be able to just use "referenced columns", and portray the type of relation the column resides in via the icon next to that part of the UI (let me know if this isn't clear; I can elaborate). For "save" vs. "save as new", to reiterate my response to one of @kgodey 's comments, there isn't really a "save" at the DB level; it'll always be "save as new". So, if the user filters, then saves the result, we'd need to replace the current view with a given name with an entirely new one of the same name (and then propagate that simulated "save" through the service models). This is possible, but it makes me wonder if we should try to portray more of what's going on to the user so they aren't surprised somehow. For example, the view will get a new OID each time it's "saved", which may throw off some script they're using that references an OID. |
Beta Was this translation helpful? Give feedback.
-
@ghislaineguerin This looks pretty good to me! Kriti and Brent have covered the naming terminology factors. I have no further comments. :) |
Beta Was this translation helpful? Give feedback.
-
Based on the new action plan from the 2021-10-15 meeting, we're going to update the design requirements for issues in this milestone, including this one. |
Beta Was this translation helpful? Give feedback.
-
The design for issue #466 is ready for review. Please follow the Review Guidelines and make sure to review before the set deadline expires.
Document
https://wiki.mathesar.org/en/design/specs/viewing-views-specs
Reviewers
@kgodey @pavish @mathemancer Your review is required.
Feedback from the community is also welcome. Contributors can find more context about Mathesar's design strategy here.
Deadline
The deadline for submitting feedback is set 2 days from now, on Wednesday 8.
Beta Was this translation helpful? Give feedback.
All reactions