clearlydefined / clearlydefined/website

File listing is inconsistent with folder breadcrumb after reverting changes

Open
#975 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
32
Forks
35
PR merge metrics
No merged PRs in 30d

Description

Repro step:
1. Make a change to a component, e.g. change the declared license in https://dev.clearlydefined.io/definitions/npm/npmjs/@typescript-eslint/types/5.19.0
2. Go to "Files" tab, click to drill down on "package" directory, the only item listed. Files are listed correctly for package directory (4 items) and the folder bread crumb is correct (types-5.19.0/package).
3. Click on "Revert" button and "OK" to revert changes done in Step 1.
Expected: file listing should not change (still 4 items) corresponding to the folder breadcrumb (types-5.19.0/package)
Observed: The file listing changed, displaying only "package" folder; whereas the folder breadcrumb still correctly reflects the drill down state (types-5.19.0/package).

Before revert:
![image](https://user-images.githubusercontent.com/92891533/164773273-1277b8da-18e8-4ada-849b-d7cebb80cd60.png)
After revert:
![image](https://user-images.githubusercontent.com/92891533/164773329-09d62c92-670a-4b95-9149-c8534a58bdd0.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.