firecmsco / firecms

Awesome Firebase/Firestore-based CMS. The missing admin panel for your Firebase project!
https://firecms.co
Other
1.14k stars 185 forks source link

Allow choosing which custom view or subcollection is opened by default #483

Closed SeeringPhil closed 1 year ago

SeeringPhil commented 1 year ago

https://user-images.githubusercontent.com/9097313/226651353-8302069f-0687-40aa-b960-e9cb15072c20.mov


https://user-images.githubusercontent.com/9097313/226637932-2faa34fc-945a-4425-96be-c8cfefbc7cbc.mov

If there are no additional views (custom view or subcollection) the tab header is hidden like it was before.

fgatti675 commented 1 year ago

Looks great! I will check it out ASAP

fgatti675 commented 1 year ago

Hi, this has been just released with package version 2.0.0-beta.4-pre.4, the prop has been renamed to defaultSelectedView and the behaviour slightly changed to fit for large and small layouts