Переехать с Toast на Snackbar

Open
#84 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by running pnpm update vuetify, then inspect /src/components/ToastView.vue, /src/components/ToastList.vue, and /src/App.vue. Replace the Toast-based components as specified, remove ToastList.vue, and verify that notifications use Vuetify's v-snackbar and v-snackbar-queue components with the existing inner structure preserved.

Written by the indexing model from the issue text.

Description

coding :computer: layout :bricks:

Сейчас у нас всплывающие снизу уведомления самописные. Во vuetify есть встроенный компонент и очереди, и уведомления -- хорошо переехать на него для цельности дизайн-системы.

  1. Обновить vuetify -- в консоли VS Code написать pnpm update vuetify
  2. В файле /src/components/ToastView.vue заменить div class="toast" на один компонент -- v-snackbar. Добавить этому тегу атрибут vertical. Внутреннюю структуру оставить.
  3. Удалить файл /src/components/ToastList.vue
  4. В файле /src/App.vue заменить ToastList на v-snackbar-queue
Dominant language
Vue
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from profcomff/rating-ui

All issues in profcomff/rating-ui

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.