kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Empty New users page shows two create-user buttons

Open nucleogenesis opened this issue 11 months ago • 7 comments

🙂 Looking for an issue? Welcome! This issue is open for contribution. If this is the first time you’re requesting an issue, please:

  • Read Contributing guidelines carefully. Pay extra attention to Using generative AI. Pull requests and comments that don’t follow the guidelines won’t be answered.
  • Confirm that you’ve read the guidelines in your comment.

Overview

When there are no new users, the New users page shows both a New user button in the header and a Create new user button under the empty-state image. Only the empty-state button should show.

Complexity: Low Target branch: develop

Context

Empty New users page with a New user button in the header and a Create new user button below the image

The Change

The header New user button should be hidden while the page shows its empty state.

How to Get There

  1. As a facility admin on a facility with no users created in the last 30 days, open Facility > Users.
  2. Click Options, then View new users.

Acceptance Criteria

General

  • [ ] With no new users, the page shows only the Create new user button under the empty-state image.
  • [ ] With new users listed, or with a search or filter applied, the header New user button still shows.

Testing

  • [ ] A new NewUsersPage spec using Vue Testing Library confirms that with no users only Create new user shows, and with users only the header New user shows.

AI usage

@nucleogenesis reported the duplicate and chose which button stays; Claude Code located both buttons and drafted this revision.

nucleogenesis avatar Dec 11 '25 22:12 nucleogenesis

@nucleogenesis please assign this to me !

Siddhartha-TheSidEffect avatar Dec 21 '25 21:12 Siddhartha-TheSidEffect

Hlo @nucleogenesis ,if it is fine i would love to work on this issue,I have already handled some issue in this repo and would love to contribute in this lovely organisation.PLease do tell if i can work on it

Prashant-thakur77 avatar Jan 09 '26 18:01 Prashant-thakur77

Hi! 👋

Thanks so much for your interest! This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues. If there are no unassigned 'help wanted' issues available, please wait until new ones are added.

We really appreciate your willingness to help. 😊

Are you preparing for Google Summer of Code? See our GSoC guidelines.

learning-equality-bot avatar Jan 09 '26 18:01 learning-equality-bot

Hi! 👋

This issue is available for contribution and supports self-assignment. Here's how to get started:

  • Comment /assign to assign yourself to this issue
  • You can have up to 2 issues assigned at a time across all community repos
  • Dropping an issue has a 7-day cooldown before the slot opens up
  • Link your pull request to this issue when you submit it

📖 Read the Contributing guidelines before starting.

Are you preparing for Google Summer of Code? See our GSoC guidelines.

learning-equality-bot avatar Oct 01 '26 22:10 learning-equality-bot

Hi! I’d like to work on this issue. I’ve read the contributing guidelines and I’m interested in implementing the fix and the requested tests. /assign

DieimesNunes avatar Oct 02 '26 00:10 DieimesNunes

Hi! 👋

You've been assigned to this issue. Here's what to do next:

  • Read the issue description carefully and make sure you understand the requirements
  • Link your pull request to this issue when you submit it
  • If you can no longer work on this, unassign yourself so others can pick it up

Good luck! 😊

Are you preparing for Google Summer of Code? See our GSoC guidelines.

learning-equality-bot avatar Oct 02 '26 00:10 learning-equality-bot

Hi! I've submitted PR #15565 with the fix and the requested tests. Thanks!

DieimesNunes avatar Oct 11 '26 18:10 DieimesNunes