Closed mrbrianevans closed 2 years ago
Tabs have now been added to the navbar. Icons for each tab were added in https://github.com/mrbrianevans/social-media-export-analyser/commit/08d69cb3a0b5177e128a60123867a5b546a7fbb8. Raw data tab was added in https://github.com/mrbrianevans/social-media-export-analyser/commit/71575a5fd5c7f92bcdee7e6e08b2cccaabf65642.
The behaviour of these tabs is to disable them when a type of analysis is not available for the selected file, and show an hourglass icon if the analysis is loading (currently only used for topic extraction).
Instead of the tabs of a single file being below the navbar, they should just be right next to the logo in the topmost section of the website. A prototype is shown below:
Not too sure how this will work, because the content of the tabs needs to be specified by FileViewer, and the binding of selected tab needs to be accessible there, but the NavBar element needs to display them. Its probably possible using
slot
somehow?As this feature is not essential to use the website, and doesn't directly add any functionality over what already exists, it is low priority.