Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Install nivo core and bar npm packages. * Display file-set data in an initial nivo chart. * Change colors and height of chart. * Make custom Y-axis labels. Move the legend to the bottom. * Refactor the charting code a bit. Move legend to the left side to make space for a month selector. Remove the chart hover tooltips. Add initial titles and statistics boxes to the home-page header. * Make the width of the Y-axis label column easily changeable. Fix some of the comments. * Update the data-provider request to include the creation timestamp. * Implement the month selector that filters the list of measurement sets displayed. * Format each bar’s aria label. * Don’t show fractional scale values. * Make dark mode work. * Add home-page title. * Fix the tick marks so that large values don’t cause the ticks to mush together. * Fix the bottom-axis tick numbers so they always include 0 and the maximum value. Abbreviate the bottom-axis values. * Finish the statistics boxes. * Hide chart on narrow pages. * Increase the Cypress timeout to 60 seconds from 30 seconds. Add a delay after clearing the text area before typing into it in the Cypress add.cy.js file to avoid having the new text append the existing text. * Change Cypress timeout from 60s to 65s to see if it finally triggers on CircleCI. * Try going back to the original 30s timeout, then wait 10s after logging in before calling cy.visit, instead of just one second. * Maybe cy.visit() breaks the Cypress test. Instead, navigate to the Schemas page for the * Try not retrieving data for home page to see if this helps Cypress pass. Set Cypress timeout back to 60 seconds. * Add a command timeout of 60 seconds specifically for add.cy.js to see if that helps. * Return getServerSideProps() code to retrieve home-page data. Change add.cy.js defaultCommandTimeout to 90 seconds because the last Cypress/CircleCI run had the editor appear exactly the moment Cypress timed out the test. Wait two seconds instead of one after logging in, as the menu commands cut in slightly early. * Another CircleCI/Cypress failure. Now try not rendering the graph. If that works, I don’t know where to go from there. * Fix build error in last commit. * Make home-page chart conditional, only rendering if Cypress doesn’t run. * Revert many changes to the Cypress tests, and remove the container query from `<App>` as it seems like that caused the Cypress failures for some reason. * Add IGVF Consortium link to the home-page title area. * Update the statistics boxes for dark mode. Change the title of the Measurement Set statistics box. Change the Lab statistics box to show total Sample objects. * Have legend only appear while the user is logged in. * Reorganize the functions within chart-file-set.js. Correct some comments. Add a Cypress test for the home page. * Try making the Cypress browser size larger to make the chart appear. * Do a little code reorganization. * Use the floating ui package to manage the month-selector popup instead of handling everything here. That lets us take advantage of floating ui’s automatic positioning. * Move non-React-component functions to a new file in lib/ so we can cover them with Jest tests. * Have home-page Cypress test work with default igvfd data, not including the MeasurementSet additions I made. * Make the month selector accessible. * Add Jest tests for the home.ts library. Convert the home.js library to Typescript. * Correct a comment. * Remove Cypress tests for the home page chart bars because they’re all for the same date. * Change the icon colors. * Correct some comments. Add some attributes for accessibility. * Convert statistics panels to linked buttons. * Colorize the three statistics buttons. Change month-selector button into a primary style. * Adjust color of the Samples statistics button. * Add catalog links to the main navigation. * Change the coloring on the statistics buttons. * Delete now-unused home-page images. * Fix a merge marker I missed last time. * Add the cumulative release chart. Remove Catalog section. * Format the month labels. * Abbreviate numbers used in the Y axis labels. * Make the Y axis legend work with dark mode. * Replace the month-selection dropdown code with the new dropdown module. Move the text-color Tailwind CSS out of an `<App>` div and into the body tag so that root-level portals get the automatic text color. * Clean up chart title usage. Change the status chart legend depending on if the user has logged in or not, instead of hiding the legend if the user hasn’t logged in. * Have home.test.js pass. * Add Jest test for converting file-set data to release data. Get full coverage for other Jest tests. * Fix home-page Cypress tests. * Add Catalog button to the home-page title. * Make sure the home page works even with no MeasurementSet release data. * Correct comments. Remove the now-unused NavigationAnchorItem component. * Reduce the line-chart Y-axis ticks for small amounts. * Updates from Idan’s feedback.
- Loading branch information