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

Remake #3

Merged
merged 38 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
65cd934
start from 0
samuelemusiani Jun 16, 2024
e4cdb2f
init vue
samuelemusiani Jun 16, 2024
8e63c30
removed base components
samuelemusiani Jun 16, 2024
9cdf052
tailwind + base form
samuelemusiani Jun 16, 2024
abc9219
tailwind formatting
samuelemusiani Jun 16, 2024
485f1eb
Basic Activity implementation
samuelemusiani Jun 16, 2024
383ee7f
basic hardcoded style
samuelemusiani Jun 16, 2024
6f92522
delete activity; style
samuelemusiani Jun 16, 2024
aa12082
red when wrong submit
samuelemusiani Jun 16, 2024
7ad9935
local storage support
samuelemusiani Jun 17, 2024
de7b259
remove all
samuelemusiani Jun 17, 2024
c0d77a9
global var for csunibo colors
samuelemusiani Jun 17, 2024
8158d43
removed wrong import
samuelemusiani Jun 17, 2024
4c41937
wip: convert window
samuelemusiani Jun 17, 2024
81bbb55
make button grey when convertion is not possible
samuelemusiani Jun 18, 2024
495ca15
simple CodeBlock
samuelemusiani Jun 18, 2024
53ecb21
basic latex
samuelemusiani Jun 18, 2024
3997c99
removed console log
samuelemusiani Jun 18, 2024
4c5cbbc
copy button
samuelemusiani Jun 18, 2024
eea718e
pdf generation
samuelemusiani Jun 18, 2024
fe3384b
subtitle
samuelemusiani Jun 18, 2024
9989d1b
add info and settings icons
samuelemusiani Jun 18, 2024
d55d79f
wip side menus
samuelemusiani Jun 18, 2024
fc020e0
favicon and title
samuelemusiani Jun 20, 2024
7bd84ae
add note for local storage
samuelemusiani Jun 22, 2024
187f402
icons made right
samuelemusiani Jul 4, 2024
7dfb8c9
menu animation with buttons
samuelemusiani Jul 4, 2024
54d996c
removed ids
samuelemusiani Jul 4, 2024
d36b32d
fix typescript error on clipboard copy
samuelemusiani Jul 5, 2024
c3e6cec
settings store working
samuelemusiani Jul 7, 2024
be40d22
time as buttons
samuelemusiani Jul 8, 2024
9ca7d93
save settings to localstorage
samuelemusiani Jul 8, 2024
01ddb38
overflow on info menu
samuelemusiani Jul 9, 2024
ece8b33
make menus responsive
samuelemusiani Jul 9, 2024
c314b5b
delete as bin icon
samuelemusiani Jul 9, 2024
8431324
pages deploy
samuelemusiani Jul 9, 2024
36d9f5a
disable timeAsButton as default
samuelemusiani Jul 9, 2024
a2400cf
check formatting and build on push
samuelemusiani Jul 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier/skip-formatting'
],
parserOptions: {
ecmaVersion: 'latest'
}
}
23 changes: 23 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build

on:
push

jobs:
build-check:
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22

- name: Checkout the repo
uses: actions/checkout@v4

- name: Install npm-run-all
run: npm install npm-run-all

- name: Check formatting
run: npm run build

53 changes: 53 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Pages deploy

on:
push:
branches:
- main

workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:

deploy-pages:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22

- name: Checkout the repo
uses: actions/checkout@v4

- name: Install dependencies
run: npm install

- name: Build project
run: npm run build
env:
BASE_PATH: /${{ github.event.repository.name }}

- name: Upload artifacts to github pages
uses: actions/upload-pages-artifact@v3
with:
path: dist

- name: Deploy pages
uses: actions/deploy-pages@v4

22 changes: 22 additions & 0 deletions .github/workflows/formatting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Formatting

on:
push

jobs:
format-check:
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22

- name: Checkout the repo
uses: actions/checkout@v4

- name: Install prettier
run: npm install --save-dev --save-exact prettier

- name: Check formatting
run: npx prettier --check src/
42 changes: 0 additions & 42 deletions .github/workflows/pages.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
dist
dist-ssr
coverage
*.local

/cypress/videos/
/cypress/screenshots/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

*.tsbuildinfo
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"tabWidth": 2,
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

Un semplice strumento per riassumere le attività svolte durante il proprio
tirocinio. Consulta anche la [pagina della wiki
relativa](https://csunibo.github.io/wiki/applicativi-web/diario-tirocinio/index.html).
relativa](https://csunibo.students.cs.unibo.it/wiki/applicativi-web/diario-tirocinio/index.html).
9 changes: 9 additions & 0 deletions env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/// <reference types="vite/client" />

declare module "vuex" {
export * from "vuex/types/index.d.ts";
export * from "vuex/types/helpers.d.ts";
export * from "vuex/types/logger.d.ts";
export * from "vuex/types/vue.d.ts";
}

Binary file removed img/unibo.png
Binary file not shown.
Binary file removed img/unibo128.ico
Binary file not shown.
Binary file removed img/unibo128.png
Binary file not shown.
Binary file removed img/unibo180.ico
Binary file not shown.
Binary file removed img/unibo180.png
Binary file not shown.
Binary file removed img/unibo192.ico
Binary file not shown.
Binary file removed img/unibo192.png
Binary file not shown.
Binary file removed img/unibo32.ico
Binary file not shown.
Binary file removed img/unibo512.png
Binary file not shown.
Loading