diff --git a/.github/ISSUE_TEMPLATE/data_error.yaml b/.github/ISSUE_TEMPLATE/data_error.yaml new file mode 100644 index 0000000..d10960f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/data_error.yaml @@ -0,0 +1,47 @@ +name: Napaka v podatkih +description: Napišite poročilo o napaki v podatkih. +body: + - type: markdown + attributes: + value: | + Hvala, ker ste si vzeli čas za izpolnitev tega poročila! + - type: dropdown + id: datatype + attributes: + label: Vrsta podatka + description: Pri katerem podatku, se je pojavila napaka? + options: + - Urnik + - Jedilniki + - Okrožnice + - Nadomeščanja + - Razporedi kosil + validations: + required: true + - type: dropdown + id: viewtype + attributes: + label: Vrsta pogleda + description: Pri katerem pogledu, se je pojavila napaka? + options: + - Razred + - Profesor + - Učilnica + validations: + required: true + - type: textarea + id: error + attributes: + label: Opis napake + description: Kolikor vam je mogoče podrobno opisati napako. + placeholder: npr. Namesto geografije 3. uro je bila napisana 4. uro + validations: + required: true + - type: input + id: date + attributes: + label: Datum + description: Vpišite datum, ko se je zgodila napaka (dd. mm. yyyy) + placeholder: npr. 29. 12. 2023 + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 0000000..25755b1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,28 @@ +name: Prošnja za funkcijo +description: Napišite izboljšavo obstoječih funkcij ali novo funkcijo +body: + - type: markdown + attributes: + value: | + Hvala, ker ste si vzeli čas za izpolnitev tega poročila! + - type: textarea + id: idea + attributes: + label: Vaša zamisel + description: V nekaj stavkih opišite svojo zamisel. + validations: + required: true + - type: textarea + id: whatfor + attributes: + label: Problem, ki ga reši + description: Kakšen problem bi rešila vaša zamisel? + validations: + required: true + - type: textarea + id: other + attributes: + label: Slike vaše zamisli + description: Kako bi izgledala vaša zamisel? Kako rešijo to druge aplikacije? + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/malfunction.yaml b/.github/ISSUE_TEMPLATE/malfunction.yaml new file mode 100644 index 0000000..bbd2024 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/malfunction.yaml @@ -0,0 +1,38 @@ +name: Napaka v delovanju +description: Napišite poročilo o napaki v delovanju. +body: + - type: markdown + attributes: + value: | + Hvala, ker ste si vzeli čas za izpolnitev tega poročila! + - type: textarea + id: description + attributes: + label: Opis napake + description: Kolikor vam je mogoče podrobno opisati napako. + validations: + required: true + - type: input + id: os + attributes: + label: Operacijski sistem + description: V katerem operacijskem sistemu se pojavlja ta napaka (po možnosti z verzijo)? + placeholder: Android 13, iOS 16, Windows 11 itd. + validations: + required: true + - type: input + id: browser + attributes: + label: Brskalnik + description: V katerem brskalniku se pojavlja ta napaka? + placeholder: Chrome, Safari, Firefox itd. + validations: + required: true + - type: textarea + id: screenshot + attributes: + label: Posnetek zaslona telefona/računalnika + description: V primeru, če imate vizualne napake, lahko tu prilepite svoj posnetek zaslona. + placeholder: Kliknite v to besedilno polje in prilepite svoj posnetek zaslona. + validations: + required: false \ No newline at end of file diff --git a/API/gimvicurnik/updaters/eclassroom.py b/API/gimvicurnik/updaters/eclassroom.py index d3a250d..e155d31 100644 --- a/API/gimvicurnik/updaters/eclassroom.py +++ b/API/gimvicurnik/updaters/eclassroom.py @@ -31,7 +31,7 @@ class ParserType(enum.Enum): - SUBSTITUTUONS = "substitutions" + SUBSTITUTIONS = "substitutions" LESSON_CHANGE = "lesson-change" SUBJECT_CHANGE = "subject-change" CLASSROOM_CHANGE = "classroom-change" @@ -421,7 +421,7 @@ def _parse_substitutions(self, tables: Tables, effective: date) -> None: # Get parser type if row == header_substitutions: - parser_type = ParserType.SUBSTITUTUONS + parser_type = ParserType.SUBSTITUTIONS continue elif row == header_lesson_change: parser_type = ParserType.LESSON_CHANGE @@ -447,7 +447,7 @@ def _parse_substitutions(self, tables: Tables, effective: date) -> None: continue # Parse substitutions - if parser_type == ParserType.SUBSTITUTUONS: + if parser_type == ParserType.SUBSTITUTIONS: # Get basic substitution properties time = int(row[1][:-1]) if row[1] != "PU" else 0 subject = self._normalize_subject_name(row[5]) diff --git a/website/src/App.vue b/website/src/App.vue index 73c30a1..dae9171 100644 --- a/website/src/App.vue +++ b/website/src/App.vue @@ -2,10 +2,12 @@
- + + + {{ pageTitle }}
diff --git a/website/src/components/settings/About.vue b/website/src/components/settings/About.vue new file mode 100644 index 0000000..a6a32ef --- /dev/null +++ b/website/src/components/settings/About.vue @@ -0,0 +1,52 @@ + + + diff --git a/website/src/components/settings/entitySelection/WelcomeInfo.vue b/website/src/components/settings/entitySelection/WelcomeInfo.vue index a3b9ea3..b89253d 100644 --- a/website/src/components/settings/entitySelection/WelcomeInfo.vue +++ b/website/src/components/settings/entitySelection/WelcomeInfo.vue @@ -12,6 +12,10 @@ Aplikacija je neuradna in lahko vsebuje nepopolne ali napačne podatke. Za ogled uradnih podatkov uporabite Spletno učilnico Gimnazije Vič.

+

+ V dokumentaciji projekta + so dostopna navodila za namestitev in uporabo. +

Aplikacija zbira omejene podatke o brskalniku in uporabi za namene odpravljanja napak in izboljšanja učinkovitosti. Podatki se ne uporabljajo za identfikacijo uporabnikov, oglaševanje ali druge namene. diff --git a/website/src/views/Settings.vue b/website/src/views/Settings.vue index 58dc4fe..64c9f3c 100644 --- a/website/src/views/Settings.vue +++ b/website/src/views/Settings.vue @@ -53,6 +53,13 @@ label="Posodobi podatke" @click.native="updateData" /> + + + + + + + + @@ -100,9 +111,10 @@