Skip to content
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

Version 2.0 #116

Merged
merged 380 commits into from
Dec 15, 2023
Merged

Version 2.0 #116

merged 380 commits into from
Dec 15, 2023

Conversation

okennedy
Copy link
Contributor

@okennedy okennedy commented Jul 11, 2021

This pull marks v2.0 as stable
https://github.com/VizierDB/vizier-scala/milestone/6

Note: This release WILL very likely break the 1.x vizier.db file format. To migrate to the 2.x format:

  • Export your 1.x project using Vizier 1.x
    • Go to Export Project in the Project menu, OR
    • use the vizierdb export command
  • Import your project with Vizier 2.x

There is a small chance that your project will work without issues. Make sure to back up your vizier.db directory. You will almost certainly need to re-execute the entire workflow.

User-Facing Features

Bug-Fixes

Developer-Facing Features

Features Migrated from v1.2

@okennedy okennedy added this to the Version 2.0 milestone Jul 11, 2021
@okennedy okennedy changed the title V2.0 Version 2.0 Jul 11, 2021
@okennedy okennedy added the enhancement New feature or request label Dec 31, 2021
- Tentative modules brought into the "tab on the right" interface
- Added module list separators
- Workflow is looking reasonably spiffy
- Added ToC + Cleanup + Coloring based on status.
- ToC now includes an artifact list.
- minor, tentative File browser and CodeMonkey cleanup
- The scheduler's state transitions are now posted to the frontend
- Added a modal dialog feature to the frontend (widgets.ShowModal)
- Added a "disabled" option to the menu bar
- Project menu is now fleshed out (merged it with the share menu)
- Run menu now changes icon depending on system state
- Run menu is now fleshed out
- Moved standard artifact icons to types.scala
- Module menu highlight triggers when hovering over the **menu**, not the module
- Started CSS for the artifact inspector.
- Abstracted out the generic Cancel/OK modal
- Rename Branch, Create Branch, Switch to branch now work.  History greyed out
- Python, Scala Settings greyed out.  Spark Dashboard now works.
- Help menu now creates a new tab
- Switched TentativeEdits to now support ArtifactSummaries as well.
- Fixed a few minor source/target index confusion bugs in TentativeEdits.
- Added an add-module separator in after tentative modeles and artifact inspectors as well.
- Load Dataset schema no longer protrudes off the end of the module
- SCSS-ified the load dataset editor css
- Fixed a bug where inserting a module would leave the tentative module in place
- Fixed a bug where the csv headers checkbox would be ignored.
- ListParameter can now encode any iterable, not just sequences (fixes a glitch with encoding Pivot tables)
- Pivot now correctly interprets the target parameter as an integer position
- Vegalite now uses the "bar-chart" icon, rather than the nonexistant "chart" icon.
- Using absolute positioning on .content, .workflow, and .table_of_contents avoids scrolling glitches when the view is resized or we're asked to scroll off the end of the .workflow
- Increased ToC counter padding to allow for i >= 10
- Bolded ToC entries at levels 1-4, and increased size at levels 1-3
- Caveats now show at the modal z-index.
- Simple Chart now respects the "Filter" field
- Simple Chart now respects the y-axis "Label" field
- Simple Chart no longer generates a default label for the y-axis
- Simple Chart now generates a default chart identifier
- Limit workflow width to 800px
- Position inter-cell menu above CodeMonkey default on the z-axis
- Clean up "Save/Back/Cancel" buttons in editor/new cell menu
- Widen inter-cell split
- Apply color to cell state description
- Hide cell state/summary in markdown cells
- Add some light formatting to markdown and text outputs
- Clearly identify borders of CodeMirror editors
- Add "create documentation" button to inter-cell editor.
… cells.

- ExecutionContext.pipeline now allows scala cells to define SparkML pipelines over vizier dataset artifacts
- ExecutionContext.outputPipeline now allows scala cells to apply SparkML pipelines over vizier dataset artifacts
- ExecutionContext.outputDataset now allows scala cells to output dataframe literals (note that any provenance information is lost)
- SparkPrimitive now translates with vector types
- Scala Cell's `datasetPipeline` method retrieves the pipeline for a dataset (if one exists)
- Adding `vector_to_array` and `array_to_vector` methods accessible in SQL-land
- Added a history pane (currently view-only)
- Capped workflow at 800px and factored this out into a var.
- Started refactoring TentativeEdits to allow for easy jumping to the relevant module
- No more infinite loop on MLVector iterators.
- Added action buttons to artifacts table
- Prettier scrolling
- Added a widget to streamline scrolling (based on https://stackoverflow.com/questions/56950782/scalajs-scrollintoview-with-scrollintoviewoptions?rq=1 )
- Client-side API now has standard URL generation methods (ClientURLs, and API.*URL methods)
- Artifact.describe now includes Parameter values
- Scala Script now auto-includes some basic spark items
- Scala Script now follows the first-line comment is a title convention
- Removed hard-coded API url.  Vizier UI needs .init() to be called before any of the other methods.
- Started adding artifact buttons (re #186)
- Servelet routes now include debugging labels
- Dataset artifact gets now includes a way to "hint" the name of the artifact
- Adding support for displaying artifacts (support for vegalite, function, and json presently available)
- Cleaning up the ToC layout a bit:
    - Adding some nice separator bars
    - Capping the ToC at 50% of the available height.
    - Buttons now look a little nicer
- Finishing the remaining button types (Caveats, Pop-out view, Download)
- Adding a disconnected warning
- Moved the notebook status to the right to make it more visible.
- Added a "Display artifact" page and component
- the 'nav' tag has some odd behaviors w.r.t. flex... moving the ToC to a div tag
- Moving ShowCaveats to the standard modal dialog API.
- Fixed a bug in URL generation that would break query parameters
- Artifact inspector now actually displays the artifact description
- DisplayArtifact now works for parameter artifacts
- Propagating HATEOAS removal to UI test cases
- Added a framework for easily adding snippets
- Imported Python snippets from old UI (and did a bit of housekeeping)
- Code parameters now render a code snippets box.

Still TODO:
- Hide the snippets box behind a drop-down
- Review ExecutionContext to create a comparable set of snippets for Scala
cameronjtoy and others added 23 commits October 16, 2023 07:01
- Added a CDF Plot type.
- AnnotateWithSequenceNumber now works with non-standard attribute names
- Rowid annotation now supports window queries
- The cell menu icons now switch to a dark grey in default mode to emphasize that there are buttons present
- The completed cell color is now vizier blue; this should make it easier to see state in the workflow.
- Added a horrible hack to coerce the datatype of Sedona's RS_AsPNG to ImageUDT
- Spreadsheet now displays images scaled down to fit
- Spreadsheet now has a tooltip to display images at full size on mouseover pause.
- Feature: Added a delete project icon to each project in the project list that triggers a delete confirmation flow; On approval, the selected project is deleted via the regular API.
- Bugfix: Vizier now handles empty responses gracefully
- Dev QOL: Non-returning API calls in the frontend still return a Future so that the user can know when the call succeeds/fails.
- Dev QOL: Factored the code for the project list out into its own class: ProjectListView
- Propagating code-cleanup to CDF plot
- Dropping testing for simple chart
- Adding tests for CDF to ChartSpec
@okennedy okennedy marked this pull request as ready for review November 12, 2023 18:07
@okennedy okennedy merged commit 97e1f4b into master Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants