Back

[SOLVED] Display user-specific+static data in Kanban board

  • 0
  • Users
  • Databases
  • Web
  • Cloud
Susmita
3 Jun, 2023, 08:34

I'm building a Kanban board where there will be some static data to help user understand the board feature and along with that it should only display those cards added by the current user.

This is the data coming from backend where 2 or 3 are made by the current user and others are created in the appwrite cloud console.

TL;DR
The user is looking for help in displaying user-specific and static data in a Kanban board. They are encountering some errors with the DragDropContext and are unsure how to proceed. A suggestion is made to hard code the demo data into the app instead of retrieving it from the backend. The user provides links to the relevant code files.
Susmita
3 Jun, 2023, 08:35

Now, while listing document I'm querying with 'created_by' attribute which contains the current loggedin userId. At that time, it showing something like this:

Susmita
4 Jun, 2023, 03:51

Someone help me

Drake
4 Jun, 2023, 04:37

Maybe the demo ones should be hard coded into the app rather than actual data from the backend

Susmita
4 Jun, 2023, 04:38

I tried but it's not happening. Idk how to do what to do

Drake
4 Jun, 2023, 04:39

What do you mean? Do you have some flag to only show demo data vs the users data?

Susmita
4 Jun, 2023, 04:42

I tried to use the flag but it was showing me some wierd errors

Susmita
4 Jun, 2023, 04:42

You may the check the code base and tell em what to be done

Drake
4 Jun, 2023, 04:43

What's the error?

Susmita
4 Jun, 2023, 04:44

There's some error with DragDropContext with render issue

Drake
4 Jun, 2023, 04:45

That doesn't sound like an Appwrite error...probably some library you're using

Susmita
4 Jun, 2023, 04:45

yeah react-beautiful-dnd thing

Nimit Savant
4 Jun, 2023, 06:35

The support channels are for solving appwrite related queries :)

Susmita
4 Jun, 2023, 08:34

I know that

Susmita
5 Jun, 2023, 18:17

Solved

Susmita
5 Jun, 2023, 18:17

[SOLVED] Display user-specific+static data in Kanban board

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more