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

Managing Groups should allow for adding/moving to groups #89

Closed
wyrzykow opened this issue Aug 3, 2023 · 3 comments
Closed

Managing Groups should allow for adding/moving to groups #89

wyrzykow opened this issue Aug 3, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request help needed Extra attention is needed

Comments

@wyrzykow
Copy link
Contributor

wyrzykow commented Aug 3, 2023

Within TargetDetail, there is tab ManageGroups. Now it only allows to see which groups this target belongs to and maybe remove it from that group. It should be possible also to add this target to existing groups, using a similar form as in the TargetList, but just for this single target.

I tried it and only managed to copy the form from targetlist and changed target_groups tag in targets_extras.py to return additional content, groupings = TargetList.objects.all(). But I failed to successfully add single target to the group. Abandoned this for now.

@wyrzykow wyrzykow self-assigned this Aug 3, 2023
@wyrzykow wyrzykow added enhancement New feature or request help needed Extra attention is needed labels Aug 3, 2023
@wyrzykow
Copy link
Contributor Author

what is the progress here? @arturkrawczyk @YuriiPurdenko ?

@YuriiPurdenko
Copy link
Collaborator

as i see it's already done: https://bh-tom2.astrolabs.pl/targets/2851/

@wyrzykow
Copy link
Contributor Author

Ok, one more thing is needed here - create new group in Target/Manage Groups. Just add a new field in Manage Groups with "Create New Group and Add This Target" - user can enter new name of the group, but if the name already exists, it gives an error message.

YuriiPurdenko pushed a commit that referenced this issue Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help needed Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants