appwrite / console

The Console that makes Appwrite tick from the browser 🖥
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
331 stars 141 forks source link

🐛 Bug Report: Creating an index with index type key fails. Then the error toast is unreadable. #1429

Open xpediteur opened 2 weeks ago

xpediteur commented 2 weeks ago

👟 Reproduction steps

When i create an index with index type "key, " an error toast appears, but the toast is blurred ( not readable)Image

👍 Expected behavior

Error toast should be readable.

👎 Actual Behavior

Toast is blurred. It could be a UI problem.

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

MacOS

🧱 Your Environment

new Version of SDK.

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?

stnguyen90 commented 2 weeks ago

@xpediteur thanks for creating this issue! Ya, looks like the error notification is being shown under the modal. We'll look into getting this fixed! 🙏

Original thread: https://discord.com/channels/564160730845151244/1297584433318072371

stnguyen90 commented 2 weeks ago

Instead of showing a notification

https://github.com/appwrite/console/blob/b3ac06b27dd62708950352d8da51596afee0e177/src/routes/(console)/project-%5Bproject%5D/databases/database-%5Bdatabase%5D/collection-%5Bcollection%5D/indexes/createIndex.svelte#L87

we should be setting the error like we do for the create attribute modal:

https://github.com/appwrite/console/blob/b3ac06b27dd62708950352d8da51596afee0e177/src/routes/(console)/project-%5Bproject%5D/databases/database-%5Bdatabase%5D/collection-%5Bcollection%5D/createAttribute.svelte#L79

xpediteur commented 2 weeks ago

perhaps a css z-index problem