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

The existing lists and tags won't load in the link edit page (V2.0.0) #835

Closed
tigerzioo opened this issue Aug 15, 2024 · 6 comments
Closed
Labels
Bug Something isn't working
Milestone

Comments

@tigerzioo
Copy link

Bug Description

It looks good when add a new link.
When editing an existing link, the existing lists and tags won't load.

How to reproduce

  1. Edit an existing link.
  2. The saved lists and tags won't show up.
  3. When type a list or tag, the existing lists and tags won't show up either.

Expected behavior

The saved lists and tags of the link should show up.

Logs

No response

Screenshots

EditLink

LinkAce version

v2.0.0

Setup Method

Docker

Operating System

Linux (Ubuntu, CentOS,...)

Client details

No response

@tigerzioo tigerzioo added the Bug Something isn't working label Aug 15, 2024
@Kovah
Copy link
Owner

Kovah commented Aug 15, 2024

Thanks for the report! Will have a look soon. Probably just a small thing.

@Kovah Kovah added this to the v2.0.0 milestone Aug 15, 2024
@Kovah
Copy link
Owner

Kovah commented Aug 15, 2024

So, I checked this locally. I get the lists and tags as expected:


There are two things to check here:

  • Are there really some lists which you are able to see? Check under Lists.
  • Are the lists properly added for the select (even though it doesn't display them)? Inspect the list select in your browser (example how-to), it should look like this:

@tigerzioo
Copy link
Author

tigerzioo commented Aug 15, 2024

This is the docker image I am using.
docker pull linkace/linkace:2.x

Here is the source code I can see from the edit page. (Not the link create page, the link create page is fine)
I can see the list I selected when I create the link but it doesn't show. And I don't see any other lists in the source code.

<input name="lists" id="lists" type="text" placeholder="Select a List"
                                class="tag-select" data-value="[{&quot;id&quot;:20,&quot;user_id&quot;:1,&quot;name&quot;:&quot;WebServer&quot;,&quot;description&quot;:null,&quot;visibility&quot;:2,&quot;created_at&quot;:&quot;2024-08-09T04:15:19.000000Z&quot;,&quot;updated_at&quot;:&quot;2024-08-09T04:15:38.000000Z&quot;,&quot;deleted_at&quot;:null,&quot;pivot&quot;:{&quot;link_id&quot;:60,&quot;list_id&quot;:20},&quot;user&quot;:{&quot;id&quot;:1,&quot;name&quot;:&quot;Link&quot;}}]"
                                data-allow-creation="true" data-tag-type="lists">

@Kovah
Copy link
Owner

Kovah commented Aug 15, 2024

Yes, you are right. I was just checking the creation page. The edit page is broken. Will be fixed in a min.

@Kovah
Copy link
Owner

Kovah commented Aug 15, 2024

A new Beta for LinkAce 2 will come next week I guess. Hope you can wait until then. :)

@Kovah Kovah closed this as completed Aug 15, 2024
@tigerzioo
Copy link
Author

Thank you. I am looking forward the new v2 beta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Release Queue
Development

No branches or pull requests

2 participants