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
"Created", "Updated" or "User" columns not available on RightSidebar #1625
Comments
System columns are not longer hidden from the visible columns list anymore. Although this will enforce the |
I think that the changes are not correct:
Right now the column will be visible only if both (
Anyway, in directus 6.4.0 you can't change the |
That's true, we have been dealing with these attributes since we started working on 6.4.x. We only change I'm glad you brought this up, let's see what @benhaynes and @rijkvanzanten has to say about this. I'm on board but let's see if no one is planning on adding that button back. |
A great point! The main question is how do we interact with this? Assuming it's global (and not per group as a permission) then it should be managed within Settings>Tables & Inputs. We can add another icon column here to toggle the setting. But this will add visual noise and probably isn't a feature too many people will use. Also, what icon would we use to show this? We could make the current visibility icon (eye) a four-way toggle similar to permissions. But this seems even messier. We could remove the We could leave it as is where it can only be edited in the database. But this doesn't help Hosted users who don't have direct DB access. We could move this to the Permissions settings and have it managed by each group. But this is annoying if you want to change it globally – and adds visual noise to the permissions page. What do you guys think is best? |
The only problem I see on removing the hidden_list and having hidden_input for both... i for M2M columns. So, despite adding visual noise... I vote for adding another icon column. |
OK, so I think we should remove I think that some M2M interfaces could be useful on the listing page: such as "relational tags" that show up. BUT, we need to add a way for the INTERFACE to force the columns not to be visible on listing. So if you had an Interface that shouldn't be on listing (eg: a new M2M seating chart) then it can be disabled. This should/could ALSO be an Interface Option... so if the data isn't good for listing or the Admin user wants to turn it off, then it's done in the Interface Options globally. Does this make sense? Can we all agree this is the simplest/best way? |
|
@benhaynes should we force the M2M/O2M relationship to be hidden? I was thinking one possible way to use it, it is showing the count of related items. |
No, we shouldn't hide it (unless the input is hidden). I think the best fallback/default is to show the count:
We should be able to override this in the interface with a specific view though... |
We are displaying the count on O2M and M2M on listing page (d1b593f) This last commit implement the last thing we discussed. |
Version Info
Expected Behavior
When I have a Created, Updated or User column on a table, I should be able to see the column on the table view by selecting the option on the Right Sidebar.
This was possible on 6.3.9.
Actual Behavior
The columns does not appear.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: