1eab863fca
* feat: add tag suggestion dropdown for NoteAdd and TaskAdd views Implement a tag suggestion dropdown in both NoteAdd and TaskAdd components. When the tag input is focused, available tags are fetched from the API (GET /rest/home/tasks/tags) and displayed in a filterable dropdown list. Users can select an existing tag or type a custom one. Co-authored-by: Ricardo Campos <RMCampos@users.noreply.github.com> * chore: fix lint issue --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Ricardo Campos <RMCampos@users.noreply.github.com>
38 lines
694 B
Bash
38 lines
694 B
Bash
#!/bin/bash
|
|
# Client - Front-end
|
|
|
|
npm ci
|
|
if [ $? -eq 1 ]; then
|
|
echo "Issues when installing dependencies. Please review.."
|
|
exit 1
|
|
fi
|
|
|
|
if [ -z "$CHECK" ]; then
|
|
npm start
|
|
else
|
|
echo "Running checks..."
|
|
echo "1/3 - Lint started..."
|
|
npm run lint:fix
|
|
if [ $? -eq 1 ]; then
|
|
echo "Issues when running lint. Please review.."
|
|
exit 1
|
|
fi
|
|
|
|
echo "2/3 - Build started..."
|
|
npm run build
|
|
if [ $? -eq 1 ]; then
|
|
echo "Issues when running build. Please review.."
|
|
exit 1
|
|
fi
|
|
|
|
echo "3/3 - Tests started..."
|
|
npm run test:no-watch
|
|
if [ $? -eq 1 ]; then
|
|
echo "Issues when running test. Please review.."
|
|
exit 1
|
|
fi
|
|
|
|
echo "You're good to go! Good job!"
|
|
exit 0
|
|
fi
|