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

Display Number of Job Positions Next to "Open Positions" Header #126

Closed
amandesai01 opened this issue Sep 9, 2024 · 3 comments
Closed
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@amandesai01
Copy link
Member

amandesai01 commented Sep 9, 2024

Feature Description

Add a counter next to the "Open Positions" header that shows the total number of active job positions. This counter will automatically update as positions are added or removed.

Acceptance Criteria

  • The number of open positions is displayed next to the "Open Positions" header.
  • Total positions should be taken from cache (general_memoryStorage).
  • The counter updates automatically when job positions are added, edited, or removed (integrate update in endpoint).
  • The display should follow the format: "Open Positions (X)", where X is the number of positions.
@amandesai01 amandesai01 added enhancement New feature or request good first issue Good for newcomers blocked and removed good first issue Good for newcomers blocked labels Sep 9, 2024
@karthik8239
Copy link
Contributor

can I pick this @amandesai01 @devshahofficial ?

@amandesai01
Copy link
Member Author

@karthik8239, add total positions number to /api/public/config endpoint, fetch in setup-state.ts, then use it. See how it is used in other places.

@karthik8239
Copy link
Contributor

karthik8239 commented Sep 20, 2024

@amandesai01 It seems I need to get total active positions from the job postings table.Update general memory storage in seed.cache.ts and get the total positions included in the api getting from updated general memory and include the same in setup-state.ts.

#PR 172 @amandesai01
#172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Done
Development

No branches or pull requests

2 participants