Skip to content

Initial v2 UI#280

Merged
oliverchang merged 5 commits intogoogle:masterfrom
rzhw:frontend3
Jan 27, 2022
Merged

Initial v2 UI#280
oliverchang merged 5 commits intogoogle:masterfrom
rzhw:frontend3

Conversation

@rzhw
Copy link
Copy Markdown
Contributor

@rzhw rzhw commented Jan 19, 2022

This PR starts work on #231 and partially implements the design. More work to be left for followup PRs.

Screenshots:

9rwgpfxUMPAkRpr

t8GeNuZhbueuRPN

@rzhw rzhw requested a review from oliverchang January 19, 2022 03:58
Copy link
Copy Markdown
Collaborator

@oliverchang oliverchang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! This is AMAZING!!!

Just some initial comments on the Python code around re-use, but otherwise this looks incredible already.

Comment thread gcp/appengine/frontend_handlers.py Outdated
Comment thread gcp/appengine/frontend_handlers.py Outdated
response = requests.get('https://osv.dev/backend/vulnerability?id=%s' % id)
item = json.loads(response.content)

vulnerability = {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just return the vulnerability structure as-is, without doing this field mapping here? The structure format is stable and based on https://ossf.github.io/osv-schema/.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SG, shall we do the same for the vuln list? From a look at the API it does look the same

Comment thread gcp/appengine/frontend_handlers.py Outdated
Comment thread gcp/appengine/frontend_handlers.py Outdated
@inferno-chromium
Copy link
Copy Markdown
Contributor

Thanks a ton Richard (@rzhw) for working on this OSV v2 UI

@rzhw rzhw changed the title Initial v2 Initial v2 UI Jan 20, 2022
Copy link
Copy Markdown
Collaborator

@oliverchang oliverchang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!! thanks!!

@oliverchang oliverchang merged commit 6b90a13 into google:master Jan 27, 2022
@rzhw rzhw mentioned this pull request Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants