Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Model download page #44

Merged
merged 37 commits into from
Sep 5, 2022
Merged

Model download page #44

merged 37 commits into from
Sep 5, 2022

Conversation

@JWittmeyer
Copy link
Member

JWittmeyer commented Sep 2, 2022

image

For the os version this page isn't really usable. Let's disable the link and add a data-tip for the os users "check out our hosted version to use this function"

  • resolved

@JWittmeyer
Copy link
Member

JWittmeyer commented Sep 2, 2022

image

Link seems our of alignment
Same seems to be the case for delete or inside the delete button

  • resolved

@JWittmeyer
Copy link
Member

JWittmeyer commented Sep 2, 2022

image

Info seems to be missing for zero shot models.
Also i think it might be a good idea to differentiate between zero shot and embedding recommendations (e.g. by a divider line)

  • resolved

@JWittmeyer
Copy link
Member

JWittmeyer commented Sep 5, 2022

Zero-shot recommendations aren't displayed ordered by prio

  • resolved

@JWittmeyer
Copy link
Member

JWittmeyer commented Sep 5, 2022

zero shot test area "downloaded models" doesn't seem to be vertically aligned, same seems to be true for settings page

image

  • resolved

@JWittmeyer
Copy link
Member

JWittmeyer commented Sep 5, 2022

hover on zero shot test area dropdown is still the same green
image

I think a lighter shade of green would be good here. Maybe lime?

  • resolved

@JWittmeyer
Copy link
Member

JWittmeyer commented Sep 5, 2022

Sometimes on the zero shot page i get this error:
image

Not sure when it appears. I currently have 1 zero shot and one embedding model downloaded.
When it does appear the highlighting (green color) in the dropdown is missing

might be related to a race condition (one query is faster than expected)

  • resolved

@JWittmeyer
Copy link
Member

JWittmeyer commented Sep 5, 2022

the opacity of the data tip looks a bit weird (it's using the one from the button)
for an easy fix let's remove the opacity from the button for disabled (the not allowed cursor is enough here)

image

  • resolved

@FelixKirsch FelixKirsch merged commit d60a629 into dev Sep 5, 2022
@FelixKirsch FelixKirsch deleted the model-download-page branch September 5, 2022 15:39
FelixKirsch added a commit that referenced this pull request Sep 12, 2022
* Update LICENSE

* Documentation link on tokenizer fixed

* Links to public repos

* Removes retry from http failure

* Adds check for demo application

* Changes logic slightly admins

* Adds demo banner

* Discord link and icon on sidebar menu

* Saving forever fix and opacity tooltip fixed

* Long embedding names that break modal for zero-shot fixed

* Heuristic statuses shared component

* Removed function on name click on heuristics

* Zero shot module renamed and tooltips fixed on zero-shot page

* Renamed items to records on heuristics page

* Condition for continue project based on a new state for sample projects

* Removes user check on information source websocket update

* Adds badge & call to action

* Removed unused code

* 3/5 changed to 4/5, wrong percentage

* Refactor heuristic statuses component

* Navigation link on record IDE fixed

* Modal configuration fixes

* Reduced margin-top between icons on sidebar menu for smaller devices

* Changed onInit to onChanges

* Changed public links

* Transfers import options to backend

* Bump eventsource from 1.1.0 to 1.1.2

Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.2.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](EventSource/eventsource@v1.1.0...v1.1.2)

---
updated-dependencies:
- dependency-name: eventsource
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adds .github - dependabot yml

* Bump minimist from 1.2.5 to 1.2.6

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump nanoid from 3.1.30 to 3.3.4

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.4.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.1.30...3.3.4)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump async from 2.6.3 to 2.6.4

Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](caolan/async@v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Small yml change

* Bump async from 2.6.3 to 2.6.4

Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](caolan/async@v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump url-parse from 1.5.3 to 1.5.10

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.3...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump karma from 6.3.6 to 6.4.0

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.6 to 6.4.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](karma-runner/karma@v6.3.6...v6.4.0)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump karma from 6.3.6 to 6.4.0

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.6 to 6.4.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](karma-runner/karma@v6.3.6...v6.4.0)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump follow-redirects from 1.14.5 to 1.15.1

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.15.1.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.14.5...v1.15.1)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Shared component dropdown (#10)

* Kern dropdowns refactor

* Add checkboxes option to kern dropdown

* Remove unused code

* Removed unused code

* Kern dropdown improvements for disabled buttons

* Removed unused code

* Remove commented code

* Adds first (unfinished) version of iteration

* With icon option

* Adds checkbox logic

* Replaced dropdown with one component

* Removed unused code

* Removed unused code

* Renamed existing component to kern dropdown

* Reverted change

* Removed dummy code

* Removed commented code

* Header zindex over sticky header on heuristics and lookup lists

* Console log removed

* Improvements on dropdown shared component

* Prefilled heuristics

* Updated dropdown options

* More flexible dropdown

* Updated helped with more explanations

* Adds differnt logic for color generation

* Remove debug values

* Width changes

* Small fixes on dropdown

* Function name changed

Co-authored-by: JWittmeyer <jens.wittmeyer@onetask.ai>
Co-authored-by: JWittmeyer <91723236+JWittmeyer@users.noreply.github.com>

* Upgrade Angular 13 (#32)

* Upgrade Angular 13

* Consistency improvements

* Added home icon on header

* Adds notification center data tip

* Demo user restrictions on front end (#33)

* Demo user restrictions on front end

* Demo user check fix

* Removes trigger for testing

* Bump node version to 16.10.5

* Updates lock file

* Removes unused drone trigger

* Fixes Bugs in the record ide (#36)

* runs record ide for next or prev record

* pr comment

* changes notification center icon (#37)

* sets version number to v1.1 (#38)

* Readd mixed results (#39)

* Adds hotfix (#40)

* Demo changes (#42)

* Checks for demo flag for local org creation

* Adds timeout for databrowser alert

* Adds chrome check

* Adds star button with call to action

* Fixes no label AND filter bug

* increases version to v1.1.1

* Fix typo in browser check

* Removed console log

Co-authored-by: felix0496 <felix.kirsch@kern.ai>
Co-authored-by: Felix Kirsch <40427105+FelixKirsch@users.noreply.github.com>
Co-authored-by: Lina <lina.lumburovska@kern.ai>

* Model download page (#44)

* Downloaded models page start

* Queries and mutations

* Model download mutations and queries

* Model providers page improvements

* Seconds to milliseconds

* Model name parameter changed

* Model name changes

* Changes modelname

* Model download page improvements

* Sizes changed

* changes method and api names

* adds status to model provider info query

* Typo downaloded fixed

* Changed select option bar

* Spinner, refetch added

* Invalid date fix

* Icons for downaloded models added

* Console error fix

* Green color when the models are downloaded

* Align icons and disable add when duplicate is added

* Added green color to the downloaded models as part of the kern dropdown component

* Comments from PR

* Delete model modal and moved the right page to pages

* Parce date and combine requests added

* Optimized code

* applies api changes in the gateway, global notifications

* Added button disabled for OS version

* Aligned icons

* Separator for models, and types with icon instead of column

* Added info on hover

* Adds config manager error on request before init

* PR comments

* Update config check

* Align elements on project settings

* Global changes for the modal center alignment

Co-authored-by: felix0496 <felix.kirsch@kern.ai>
Co-authored-by: JWittmeyer <jens.wittmeyer@onetask.ai>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: JWittmeyer <91723236+JWittmeyer@users.noreply.github.com>
Co-authored-by: Lina <lina.lumburovska@kern.ai>
Co-authored-by: JWittmeyer <jens.wittmeyer@onetask.ai>
Co-authored-by: lumburovskalina <104008550+lumburovskalina@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
FelixKirsch added a commit that referenced this pull request Sep 12, 2022
* Update LICENSE

* Documentation link on tokenizer fixed

* Links to public repos

* Removes retry from http failure

* Adds check for demo application

* Changes logic slightly admins

* Adds demo banner

* Discord link and icon on sidebar menu

* Saving forever fix and opacity tooltip fixed

* Long embedding names that break modal for zero-shot fixed

* Heuristic statuses shared component

* Removed function on name click on heuristics

* Zero shot module renamed and tooltips fixed on zero-shot page

* Renamed items to records on heuristics page

* Condition for continue project based on a new state for sample projects

* Removes user check on information source websocket update

* Adds badge & call to action

* Removed unused code

* 3/5 changed to 4/5, wrong percentage

* Refactor heuristic statuses component

* Navigation link on record IDE fixed

* Modal configuration fixes

* Reduced margin-top between icons on sidebar menu for smaller devices

* Changed onInit to onChanges

* Changed public links

* Transfers import options to backend

* Bump eventsource from 1.1.0 to 1.1.2

Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.2.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](EventSource/eventsource@v1.1.0...v1.1.2)

---
updated-dependencies:
- dependency-name: eventsource
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adds .github - dependabot yml

* Bump minimist from 1.2.5 to 1.2.6

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump nanoid from 3.1.30 to 3.3.4

Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.4.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.1.30...3.3.4)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump async from 2.6.3 to 2.6.4

Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](caolan/async@v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Small yml change

* Bump async from 2.6.3 to 2.6.4

Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](caolan/async@v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump url-parse from 1.5.3 to 1.5.10

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.3...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump karma from 6.3.6 to 6.4.0

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.6 to 6.4.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](karma-runner/karma@v6.3.6...v6.4.0)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump karma from 6.3.6 to 6.4.0

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.6 to 6.4.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](karma-runner/karma@v6.3.6...v6.4.0)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump follow-redirects from 1.14.5 to 1.15.1

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.15.1.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.14.5...v1.15.1)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Shared component dropdown (#10)

* Kern dropdowns refactor

* Add checkboxes option to kern dropdown

* Remove unused code

* Removed unused code

* Kern dropdown improvements for disabled buttons

* Removed unused code

* Remove commented code

* Adds first (unfinished) version of iteration

* With icon option

* Adds checkbox logic

* Replaced dropdown with one component

* Removed unused code

* Removed unused code

* Renamed existing component to kern dropdown

* Reverted change

* Removed dummy code

* Removed commented code

* Header zindex over sticky header on heuristics and lookup lists

* Console log removed

* Improvements on dropdown shared component

* Prefilled heuristics

* Updated dropdown options

* More flexible dropdown

* Updated helped with more explanations

* Adds differnt logic for color generation

* Remove debug values

* Width changes

* Small fixes on dropdown

* Function name changed

Co-authored-by: JWittmeyer <jens.wittmeyer@onetask.ai>
Co-authored-by: JWittmeyer <91723236+JWittmeyer@users.noreply.github.com>

* Upgrade Angular 13 (#32)

* Upgrade Angular 13

* Consistency improvements

* Added home icon on header

* Adds notification center data tip

* Demo user restrictions on front end (#33)

* Demo user restrictions on front end

* Demo user check fix

* Removes trigger for testing

* Bump node version to 16.10.5

* Updates lock file

* Removes unused drone trigger

* Fixes Bugs in the record ide (#36)

* runs record ide for next or prev record

* pr comment

* changes notification center icon (#37)

* sets version number to v1.1 (#38)

* Readd mixed results (#39)

* Adds hotfix (#40)

* Demo changes (#42)

* Checks for demo flag for local org creation

* Adds timeout for databrowser alert

* Adds chrome check

* Adds star button with call to action

* Fixes no label AND filter bug

* increases version to v1.1.1

* Fix typo in browser check

* Removed console log

Co-authored-by: felix0496 <felix.kirsch@kern.ai>
Co-authored-by: Felix Kirsch <40427105+FelixKirsch@users.noreply.github.com>
Co-authored-by: Lina <lina.lumburovska@kern.ai>

* Model download page (#44)

* Downloaded models page start

* Queries and mutations

* Model download mutations and queries

* Model providers page improvements

* Seconds to milliseconds

* Model name parameter changed

* Model name changes

* Changes modelname

* Model download page improvements

* Sizes changed

* changes method and api names

* adds status to model provider info query

* Typo downaloded fixed

* Changed select option bar

* Spinner, refetch added

* Invalid date fix

* Icons for downaloded models added

* Console error fix

* Green color when the models are downloaded

* Align icons and disable add when duplicate is added

* Added green color to the downloaded models as part of the kern dropdown component

* Comments from PR

* Delete model modal and moved the right page to pages

* Parce date and combine requests added

* Optimized code

* applies api changes in the gateway, global notifications

* Added button disabled for OS version

* Aligned icons

* Separator for models, and types with icon instead of column

* Added info on hover

* Adds config manager error on request before init

* PR comments

* Update config check

* Align elements on project settings

* Global changes for the modal center alignment

Co-authored-by: felix0496 <felix.kirsch@kern.ai>
Co-authored-by: JWittmeyer <jens.wittmeyer@onetask.ai>

* Update logic start (#47)

* Update logic start

* Modal for version overview and added navigation to modal for steps update

* Renamed checked version to remote version and added tabs for OS

* Steps for update added

* Added new fields for checking updates

* Sorted array,align left and scrollable modal body

* Added tooltips for tabs on how to update

* Request called only once

* Improvements on query for has updates and tooltip green on steps

* Added statis variable for calling function only once

* Modal sizes fixed

* Icons alignment and data-tip changed to Version overview

* Returned untentionally removed tooltip

* Removed commented code

* Dropdown for models on smaller sizes

Co-authored-by: JWittmeyer <jens.wittmeyer@onetask.ai>

* Release version changed to 1.2.0 (#48)

* Release verion changed to 1.2.0

* Removed margins for Close button

* Go back on downloaded models page

* Fixed config manager not initialized

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: JWittmeyer <91723236+JWittmeyer@users.noreply.github.com>
Co-authored-by: Lina <lina.lumburovska@kern.ai>
Co-authored-by: JWittmeyer <jens.wittmeyer@onetask.ai>
Co-authored-by: lumburovskalina <104008550+lumburovskalina@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants