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

Omit empty namespaces local #3229

Merged
merged 4 commits into from Jul 13, 2022
Merged

Omit empty namespaces local #3229

merged 4 commits into from Jul 13, 2022

Conversation

ChrisPenner
Copy link
Contributor

@ChrisPenner ChrisPenner commented Jul 13, 2022

Overview

At some point during the work to get share-next up and running I'd removed the sub-namespace definition count (we didn't have any way to efficiently compute it on the server at the time),
It also removed it from share-local.

I've since re-added the functionality on the server, but hadn't yet gotten around to adding it on local.

This re-adds the defn count on local, which means 'empty' namespaces (namespaces which have a history but no definitions) won't be shown in the UI.

Implementation notes

I split the two implementations of 'namespace listing' out, and re-added logic to compute defn count on the local one.

TODO:

  • test on enlil

@ChrisPenner ChrisPenner self-assigned this Jul 13, 2022
@ChrisPenner ChrisPenner added this to the M4 milestone Jul 13, 2022
@aryairani aryairani merged commit bc802a1 into trunk Jul 13, 2022
@aryairani aryairani deleted the cp/omit-empty-namespaces-local branch July 13, 2022 20:43
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.

None yet

2 participants