From bf88a6dad2b6400868c1417a346ebb8949ace6eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elisa=20Ihle=20Julb=C3=B8?= Date: Thu, 29 Oct 2026 18:50:56 +0100 Subject: [PATCH 1/9] feat(frontend): bring webview in line with figma --- docs/database-setup.md | 2 +- frontend/.env.example | 6 ++- frontend/README.md | 10 ++--- frontend/src/App.tsx | 59 +++++++++---------------- frontend/src/assets/pages/home/page.tsx | 48 +++++++------------- frontend/src/search/SearchModal.tsx | 27 ++++++++--- 6 files changed, 67 insertions(+), 85 deletions(-) diff --git a/docs/database-setup.md b/docs/database-setup.md index 2faab14..abb02c2 100644 --- a/docs/database-setup.md +++ b/docs/database-setup.md @@ -64,7 +64,7 @@ themselves are plain files on disk, not stored in the database. Sprites already on disk are not downloaded again. Locally they go to `backend/sprites/` (gitignored), and the Vite development -server serves that folder at `/project2/sprites/` (see `frontend/vite.config.ts`), so no +server serves that folder at `/sprites/` (see `frontend/vite.config.ts`), so no extra web server is needed during development. On the VM, the project is served by Apache under `/project2`, so set `SPRITES_DIR` in `backend/.env` to a folder inside Apache's document root: diff --git a/frontend/.env.example b/frontend/.env.example index 20ff42e..ec3d68c 100644 --- a/frontend/.env.example +++ b/frontend/.env.example @@ -1,2 +1,4 @@ -# Optional: base URL for sprites. Defaults to sprites/ under Vite's base path. -# VITE_SPRITES_BASE_URL=/project2/sprites/ +# Base URL used by Pokémon cards to load sprites. +# In development Vite serves backend/sprites/ at /sprites/ (see vite.config.ts). +# When building for the Apache deployment, set VITE_SPRITES_BASE_URL=/project2/sprites/ +VITE_SPRITES_BASE_URL=/sprites/ diff --git a/frontend/README.md b/frontend/README.md index 3e8b3b5..941ba65 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -35,12 +35,10 @@ The backend currently provides queries for retrieving a list of Pokémon and an ## Sprites -Pokémon cards load sprites from `sprites/` under the app's base path (Vite's -`base`), so the URL follows wherever the frontend is served, e.g. -`/project2/sprites/` on the VM. In development the Vite server serves -`backend/sprites/` at `/project2/sprites/`, so no extra configuration is needed after -running the backend import. Set `VITE_SPRITES_BASE_URL` only to load sprites -from somewhere else. +Pokémon cards load sprites from `VITE_SPRITES_BASE_URL` (default `/sprites/`). +In development the Vite server serves `backend/sprites/` at `/sprites/`, so no +extra configuration is needed after running the backend import. When building +for the Apache deployment, set `VITE_SPRITES_BASE_URL=/project2/sprites/`. ## Current Functionality diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 7e2d6ca..7e0a3b4 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,5 +1,5 @@ -import "./App.css"; -import { useEffect, useState } from "react"; +import './App.css'; +import { useEffect, useState } from 'react'; import { Link, Navigate, @@ -8,14 +8,14 @@ import { Routes, useNavigate, useOutletContext, -} from "react-router-dom"; -import HomePage from "./assets/pages/home/page.tsx"; -import TeamsPage from "./assets/pages/teams/page.tsx"; -import SearchModal from "./search/SearchModal.tsx"; -import { MAX_TEAM_SIZE, type TeamPokemon } from "./team.ts"; -import { useAuth } from "./auth/AuthContext.tsx"; -import ProtectedRoute from "./auth/ProtectedRoute.tsx"; -import LoginPage from "./auth/LoginPage.tsx"; +} from 'react-router-dom'; +import HomePage from './assets/pages/home/page.tsx'; +import TeamsPage from './assets/pages/teams/page.tsx'; +import SearchModal from './search/SearchModal.tsx'; +import { MAX_TEAM_SIZE, type TeamPokemon } from './team.ts'; +import { useAuth } from './auth/AuthContext.tsx'; +import ProtectedRoute from './auth/ProtectedRoute.tsx'; +import LoginPage from './auth/LoginPage.tsx'; type ApplicationContext = { format: string; @@ -31,15 +31,11 @@ function ApplicationLayout() { const [menuOpen, setMenuOpen] = useState(false); const [searchOpen, setSearchOpen] = useState(false); const [format, setFormat] = useState( - () => - localStorage.getItem(`pokemon-draft-planner-format-${user?.id}`) || - "gen9", + () => localStorage.getItem(`pokemon-draft-planner-format-${user?.id}`) || 'gen9', ); const [team, setTeam] = useState(() => { - const savedTeam = localStorage.getItem( - `pokemon-draft-planner-team-${user?.id}`, - ); + const savedTeam = localStorage.getItem(`pokemon-draft-planner-team-${user?.id}`); return savedTeam ? JSON.parse(savedTeam) : []; }); @@ -47,10 +43,7 @@ function ApplicationLayout() { useEffect(() => { if (!user) return; - localStorage.setItem( - `pokemon-draft-planner-team-${user.id}`, - JSON.stringify(team), - ); + localStorage.setItem(`pokemon-draft-planner-team-${user.id}`, JSON.stringify(team)); }, [team, user]); const navigate = useNavigate(); @@ -63,7 +56,7 @@ function ApplicationLayout() { logout(); setSearchOpen(false); closeMenu(); - navigate("/login", { replace: true }); + navigate('/login', { replace: true }); } function handleFormatChange(newFormat: string) { @@ -73,17 +66,14 @@ function ApplicationLayout() { function addPokemon(pokemon: TeamPokemon) { setTeam((currentTeam) => - currentTeam.length >= MAX_TEAM_SIZE || - currentTeam.some((member) => member.id === pokemon.id) + currentTeam.length >= MAX_TEAM_SIZE || currentTeam.some((member) => member.id === pokemon.id) ? currentTeam : [...currentTeam, pokemon], ); } function removePokemon(id: string) { - setTeam((currentTeam) => - currentTeam.filter((pokemon) => pokemon.id !== id), - ); + setTeam((currentTeam) => currentTeam.filter((pokemon) => pokemon.id !== id)); } return ( @@ -104,15 +94,13 @@ function ApplicationLayout() { - {user?.username - ? user.username.charAt(0).toUpperCase() + user.username.slice(1) - : ""} + {user?.username ? user.username.charAt(0).toUpperCase() + user.username.slice(1) : ''} -
-
) : (

- No Pokémon on your team yet. Add one with "Add Pokémon +" to start - building it. + No Pokémon on your team yet. Add one with "Add Pokémon +" to start building it.

)} @@ -139,9 +125,7 @@ function HomePage({

Type Matchups

{loading &&

Loading type matchups…

} - {error && ( -

Could not load type matchups: {error.message}

- )} + {error &&

Could not load type matchups: {error.message}

} {!loading && !error && (
@@ -164,7 +148,7 @@ function HomePage({ return ( diff --git a/frontend/src/search/SearchModal.tsx b/frontend/src/search/SearchModal.tsx index bc1c676..b4fcba7 100644 --- a/frontend/src/search/SearchModal.tsx +++ b/frontend/src/search/SearchModal.tsx @@ -1,7 +1,11 @@ import { useQuery } from "@apollo/client/react"; import { useEffect, useState } from "react"; import PokemonCard from "../assets/components/pokemoncard/pokemoncard.tsx"; -import { MAX_TEAM_SIZE, TEAM_FULL_MESSAGE, type TeamPokemon } from "../team.ts"; +import { + MAX_TEAM_SIZE, + TEAM_FULL_MESSAGE, + type TeamPokemon, +} from "../team.ts"; import "./search-modal.css"; import { SEARCH_POKEMONS } from "./search"; @@ -9,6 +13,7 @@ const PAGE_SIZE = 20; type SearchResponse = { searchPokemons: TeamPokemon[]; + searchPokemons: TeamPokemon[]; }; type SortOption = "name-asc" | "name-desc" | "number-asc" | "number-desc"; @@ -30,9 +35,19 @@ type SearchModalProps = { teamIds: string[]; onAddPokemon: (pokemon: TeamPokemon) => void; onRemovePokemon: (id: string) => void; + teamIds: string[]; + onAddPokemon: (pokemon: TeamPokemon) => void; + onRemovePokemon: (id: string) => void; onClose: () => void; }; +function SearchModal({ + format, + teamIds, + onAddPokemon, + onRemovePokemon, + onClose, +}: SearchModalProps) { function SearchModal({ format, teamIds, @@ -142,9 +157,9 @@ function SearchModal({ - {teamFull && ( -

- {TEAM_FULL_MESSAGE} + {!format && ( +

+ Select a format on the Home page before searching.

)} @@ -248,7 +263,9 @@ function SearchModal({ isInTeam ? undefined : () => onAddPokemon(pokemon) } onRemoveFromTeam={ - isInTeam ? () => onRemovePokemon(pokemon.id) : undefined + isInTeam + ? () => onRemovePokemon(pokemon.id) + : undefined } addDisabled={teamFull} onAddBlocked={() => From f136929ce4ca2919ccfe5ed8eb1705510bab1f44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elisa=20Ihle=20Julb=C3=B8?= Date: Mon, 2 Nov 2026 12:24:40 +0100 Subject: [PATCH 2/9] Added Mobile view --- frontend/src/App.css | 176 ++++++- frontend/src/App.tsx | 57 +-- .../components/pokemoncard/pokemoncard.css | 100 ++++ .../components/pokemoncard/pokemoncard.tsx | 6 +- frontend/src/assets/pages/home/home.css | 449 ++++++++++++------ frontend/src/assets/pages/home/page.test.tsx | 61 +++ frontend/src/assets/pages/home/page.tsx | 257 ++++++---- frontend/src/assets/pages/teams/page.tsx | 4 +- frontend/src/assets/pages/teams/teams.css | 7 + frontend/src/index.css | 12 + frontend/src/search/SearchModal.test.tsx | 28 ++ frontend/src/search/SearchModal.tsx | 15 + frontend/src/search/search-modal.css | 32 +- 13 files changed, 916 insertions(+), 288 deletions(-) diff --git a/frontend/src/App.css b/frontend/src/App.css index c81d3ea..c6c0014 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -7,6 +7,8 @@ max-width: 1024px; } +/* Header */ + .top-bar { display: grid; grid-template-columns: 1fr auto 1fr; @@ -51,7 +53,13 @@ gap: 0.75rem; } +/* Search button */ + .search-button { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 0.45rem; background-color: var(--accent); color: aliceblue; border: 0; @@ -62,6 +70,12 @@ transition: filter 0.2s ease, transform 0.1s ease; } +.search-button-icon { + display: none; + width: 1.15rem; + height: 1.15rem; +} + .search-button:hover { filter: brightness(1.1); } @@ -70,6 +84,8 @@ transform: scale(0.98); } +/* Account button */ + .account-button { display: inline-block; padding: 0.6rem 1.2rem; @@ -87,6 +103,8 @@ color: white; } +/* Accessibility */ + .account-button:focus-visible, .search-button:focus-visible, .hamburger:focus-visible { @@ -94,6 +112,13 @@ outline-offset: 3px; } +/* Navigation */ + +.sidebar-header, +.menu-backdrop { + display: none; +} + .nav-links { list-style: none; display: flex; @@ -150,9 +175,12 @@ .main-content { flex: 1; + min-width: 0; background-color: var(--bg); } +/* Format selector */ + #formats { background-color: var(--code-bg); color: var(--text); @@ -171,6 +199,8 @@ border-color: var(--accent); } +/* Add Pokémon button */ + .addPokemon { background-color: var(--accent); color: aliceblue; @@ -191,17 +221,25 @@ transform: scale(0.98); } +/* Mobile layout */ + @media (max-width: 768px) { .top-bar { grid-template-columns: 1fr auto 1fr; - padding: 1rem; - gap: 0.5rem; + padding: 0.6rem 1rem; + gap: 0.6rem; + min-height: 3.75rem; } .top-bar h1 { - font-size: 1.25rem; + min-width: 0; + margin: 0; + font-size: 1rem; letter-spacing: 0; - white-space: normal; + line-height: 1.2; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .user-profile { @@ -219,7 +257,27 @@ } .search-button { - padding: 0.5rem 0.9rem; + flex: 0 0 auto; + width: 2.75rem; + height: 2.75rem; + padding: 0; + border-radius: 50%; + } + + .search-button-icon { + display: block; + } + + .search-button-label { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0 0 0 0); + white-space: nowrap; + border: 0; } .header-actions { @@ -231,6 +289,8 @@ font-size: 0.85rem; } + /* Hamburger menu */ + .hamburger { display: flex; flex-direction: column; @@ -243,24 +303,108 @@ left: 0; } + .hamburger .hamburger-line { + width: 22px; + height: 2px; + background-color: var(--text-h); + } + + /* Menu backdrop */ + + .menu-backdrop { + display: block; + position: fixed; + inset: 0; + z-index: 150; + padding: 0; + border: 0; + background: rgb(0 0 0 / 40%); + opacity: 0; + pointer-events: none; + transition: opacity 0.2s ease; + } + + .menu-backdrop.active { + opacity: 1; + pointer-events: auto; + } + + /* Sliding sidebar */ + .sidebar { - display: none; - position: absolute; + display: block; + position: fixed; top: 0; left: 0; - width: 100vw; - background-color: var(--code-bg); - border-right: none; - box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); - z-index: 100; - padding: 1rem 0; + bottom: 0; + z-index: 200; + width: min(82vw, 20rem); + height: 100dvh; + padding: 1.1rem 1.25rem; + box-sizing: border-box; + overflow-y: auto; + background-color: var(--bg); + border-right: 1px solid var(--border); + box-shadow: 0 10px 30px rgb(0 0 0 / 25%); + transform: translateX(-105%); + visibility: hidden; + transition: transform 0.2s ease, visibility 0.2s ease; } .sidebar.active { - display: block; + transform: translateX(0); + visibility: visible; } - .nav-links.active { + .sidebar-header { display: flex; + align-items: center; + justify-content: space-between; + gap: 0.75rem; + margin-bottom: 1.25rem; + padding-bottom: 0.75rem; + border-bottom: 1px solid var(--border); + } + + .sidebar-title { + color: var(--text-h); + font-size: 0.95rem; + font-weight: 600; + text-align: left; } -} \ No newline at end of file + + .sidebar-close { + display: inline-flex; + align-items: center; + justify-content: center; + flex: 0 0 auto; + width: 2.5rem; + height: 2.5rem; + padding: 0; + border: 0; + border-radius: 50%; + background: var(--code-bg); + color: var(--text-h); + cursor: pointer; + } + + .sidebar-close-icon { + width: 1.1rem; + height: 1.1rem; + } + + .sidebar .nav-links { + gap: 0; + } + + .sidebar .nav-links li { + border-bottom: 1px solid var(--border); + } + + .sidebar .nav-links a { + display: block; + padding: 0.9rem 0.25rem; + font-size: 1.05rem; + text-align: left; + } +} diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 7e0a3b4..996b7eb 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -9,6 +9,10 @@ import { useNavigate, useOutletContext, } from 'react-router-dom'; +import { + CloseIcon, + SearchIcon, +} from "./assets/components/icons/icons.tsx"; import HomePage from './assets/pages/home/page.tsx'; import TeamsPage from './assets/pages/teams/page.tsx'; import SearchModal from './search/SearchModal.tsx'; @@ -104,48 +108,33 @@ function ApplicationLayout() { onClick={() => setMenuOpen(!menuOpen)} aria-label="Toggle menu" aria-expanded={menuOpen} - aria-controls="main-navigation" > -

Pokémon Draft Planner

- -
- - - -
- + +
-
- {teamFull && ( -

- {TEAM_FULL_MESSAGE} -

- )} + + + + {teamFull && ( +

+ {TEAM_FULL_MESSAGE} +

+ )} + + {team.length > 0 ? ( +
+ {team.map((pokemon) => ( + onRemovePokemon(pokemon.id)} + /> + ))} +
+ ) : ( +

+ No Pokémon on your team yet. Add one with "Add Pokémon +" to start building it. +

+ )} + + +
+

Type Matchups

- {team.length > 0 ? ( -
+ {loading &&

Loading type matchups…

} + + {error &&

Could not load type matchups: {error.message}

} + + {!loading && !error && ( + <> +
{team.map((pokemon) => ( - onRemovePokemon(pokemon.id)} - /> +
+

{pokemon.name}

+ +
    + {types.map((type) => { + const multiplier = multiplierFor(pokemon, type); + const category = matchupCategory(multiplier); + + return ( +
  • + + {type}: {formatMultiplier(multiplier)} + +
  • + ); + })} +
+
))} + + {team.length === 0 && ( +

Add Pokémon to your team to see their type matchups.

+ )} + + {team.length > 0 && ( +
    + {MATCHUP_LEGEND.map(({ label, category }) => ( +
  • +
  • + ))} +
+ )}
- ) : ( -

- No Pokémon on your team yet. Add one with "Add Pokémon +" to start building it. -

- )} -
- -
-

Type Matchups

- {loading &&

Loading type matchups…

} - {error &&

Could not load type matchups: {error.message}

} - {!loading && !error && ( +
1 ? "weak" : "normal"}`} + className={`matchup-${multiplier === 0 ? 'immune' : multiplier < 1 ? 'resist' : multiplier > 1 ? 'weak' : 'normal'}`} > {formatMultiplier(multiplier)}
@@ -139,12 +220,15 @@ function HomePage({ format, onFormatChange, onOpenSearch, team, onRemovePokemon ))} + {team.map((pokemon) => ( + {types.map((type) => { const multiplier = multiplierFor(pokemon, type); + return (
{pokemon.name} ))} + {team.length === 0 && (
@@ -166,16 +251,20 @@ function HomePage({ format, onFormatChange, onOpenSearch, team, onRemovePokemon
- )} -
-
-

Stats

-
-
-

Moves

-
- - + + )} + + +
+

Stats

+

Team stat overview will appear here.

+
+ +
+

Moves

+

Team move overview will appear here.

+
+ ); } diff --git a/frontend/src/assets/pages/teams/page.tsx b/frontend/src/assets/pages/teams/page.tsx index 5e3f57f..88a3bf3 100644 --- a/frontend/src/assets/pages/teams/page.tsx +++ b/frontend/src/assets/pages/teams/page.tsx @@ -1,6 +1,8 @@ +import "./teams.css"; + function TeamsPage() { return ( -
+

Teams

Your teams will appear here.

diff --git a/frontend/src/assets/pages/teams/teams.css b/frontend/src/assets/pages/teams/teams.css index e69de29..aadbe1e 100644 --- a/frontend/src/assets/pages/teams/teams.css +++ b/frontend/src/assets/pages/teams/teams.css @@ -0,0 +1,7 @@ +.teams-page { + padding: 1rem; +} + +.teams-page h2 { + margin-top: 0; +} diff --git a/frontend/src/index.css b/frontend/src/index.css index 79981c7..91e67b9 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -41,6 +41,18 @@ body { margin: 0; } +.visually-hidden { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0 0 0 0); + white-space: nowrap; + border: 0; +} + h1, h2 { font-family: var(--heading); diff --git a/frontend/src/search/SearchModal.test.tsx b/frontend/src/search/SearchModal.test.tsx index 51232aa..ac3bd5e 100644 --- a/frontend/src/search/SearchModal.test.tsx +++ b/frontend/src/search/SearchModal.test.tsx @@ -448,4 +448,32 @@ describe("SearchModal", () => { expect(await screen.findByText("Pokemon 1")).toBeTruthy(); }); + + it("locks background scrolling while open and restores it on unmount", () => { + document.documentElement.style.overflow = "auto"; + document.body.style.overflow = "scroll"; + + const { unmount } = render( + + {}} + onRemovePokemon={() => {}} + onClose={() => {}} + /> + , + ); + + expect(document.documentElement.style.overflow).toBe("hidden"); + expect(document.body.style.overflow).toBe("hidden"); + + unmount(); + + expect(document.documentElement.style.overflow).toBe("auto"); + expect(document.body.style.overflow).toBe("scroll"); + + document.documentElement.style.overflow = ""; + document.body.style.overflow = ""; + }); }); diff --git a/frontend/src/search/SearchModal.tsx b/frontend/src/search/SearchModal.tsx index b4fcba7..f5903a5 100644 --- a/frontend/src/search/SearchModal.tsx +++ b/frontend/src/search/SearchModal.tsx @@ -88,6 +88,21 @@ function SearchModal({ return () => window.removeEventListener("keydown", handleKeyDown); }, [onClose]); + useEffect(() => { + const root = document.documentElement; + const body = document.body; + const previousRootOverflow = root.style.overflow; + const previousBodyOverflow = body.style.overflow; + + root.style.overflow = "hidden"; + body.style.overflow = "hidden"; + + return () => { + root.style.overflow = previousRootOverflow; + body.style.overflow = previousBodyOverflow; + }; + }, []); + const hasSearchTerm = debouncedSearch.name.trim() !== "" || [ diff --git a/frontend/src/search/search-modal.css b/frontend/src/search/search-modal.css index 6447223..43b744d 100644 --- a/frontend/src/search/search-modal.css +++ b/frontend/src/search/search-modal.css @@ -6,14 +6,13 @@ align-items: flex-start; justify-content: center; overflow-y: auto; + overscroll-behavior: contain; padding: min(10vh, 5rem) 1rem 2rem; background: rgb(0 0 0 / 55%); } .search-modal { width: min(100%, 820px); - max-height: 85vh; - overflow-y: auto; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; @@ -173,6 +172,35 @@ color: #c0392b; } +@media (max-width: 768px) { + .search-modal-overlay { + align-items: stretch; + overflow: hidden; + overscroll-behavior: contain; + padding: 0; + } + + .search-modal { + width: 100%; + height: 100dvh; + overflow-y: auto; + overscroll-behavior: contain; + padding: 1rem; + border: 0; + border-radius: 0; + box-shadow: none; + } + + .search-modal-close { + display: inline-flex; + align-items: center; + justify-content: center; + width: 2.75rem; + height: 2.75rem; + padding: 0; + } +} + @media (max-width: 600px) { .search-modal { padding: 1rem; From 55bda0b037f1c2c5821444a13f598055c4bded06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elisa=20Ihle=20Julb=C3=B8?= Date: Mon, 2 Nov 2026 13:02:16 +0100 Subject: [PATCH 3/9] New files added --- IT2810 | 1 + changed, 1024 insertions(+), 136 deletions(-) | 258 ++++++++++++++++++ erver and schema | 59 ++++ .../src/assets/components/icons/icons.tsx | 61 +++++ issue template out of folder for easy access | 258 ++++++++++++++++++ on | 258 ++++++++++++++++++ sue_template | 59 ++++ 7 files changed, 954 insertions(+) create mode 120000 IT2810 create mode 100644 changed, 1024 insertions(+), 136 deletions(-) create mode 100644 erver and schema create mode 100644 frontend/src/assets/components/icons/icons.tsx create mode 100644 issue template out of folder for easy access create mode 100644 on create mode 100644 sue_template diff --git a/IT2810 b/IT2810 new file mode 120000 index 0000000..fd9a88f --- /dev/null +++ b/IT2810 @@ -0,0 +1 @@ +IT2810 \ No newline at end of file diff --git a/changed, 1024 insertions(+), 136 deletions(-) b/changed, 1024 insertions(+), 136 deletions(-) new file mode 100644 index 0000000..333a0b5 --- /dev/null +++ b/changed, 1024 insertions(+), 136 deletions(-) @@ -0,0 +1,258 @@ + + SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS + + Commands marked with * may be preceded by a number, _N. + Notes in parentheses indicate the behavior if _N is given. + A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K. + + h H Display this help. + q :q Q :Q ZZ Exit. + --------------------------------------------------------------------------- + + MMOOVVIINNGG + + e ^E j ^N CR * Forward one line (or _N lines). + y ^Y k ^K ^P * Backward one line (or _N lines). + f ^F ^V SPACE * Forward one window (or _N lines). + b ^B ESC-v * Backward one window (or _N lines). + z * Forward one window (and set window to _N). + w * Backward one window (and set window to _N). + ESC-SPACE * Forward one window, but don't stop at end-of-file. + d ^D * Forward one half-window (and set half-window to _N). + u ^U * Backward one half-window (and set half-window to _N). + ESC-) RightArrow * Right one half screen width (or _N positions). + ESC-( LeftArrow * Left one half screen width (or _N positions). + ESC-} ^RightArrow Right to last column displayed. + ESC-{ ^LeftArrow Left to first column. + F Forward forever; like "tail -f". + ESC-F Like F but stop when search pattern is found. + r ^R ^L Repaint screen. + R Repaint screen, discarding buffered input. + --------------------------------------------------- + Default "window" is the screen height. + Default "half-window" is half of the screen height. + --------------------------------------------------------------------------- + + SSEEAARRCCHHIINNGG + + /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line. + ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line. + n * Repeat previous search (for _N-th occurrence). + N * Repeat previous search in reverse direction. + ESC-n * Repeat previous search, spanning files. + ESC-N * Repeat previous search, reverse dir. & spanning files. + ESC-u Undo (toggle) search highlighting. + ESC-U Clear search highlighting. + &_p_a_t_t_e_r_n * Display only matching lines. + --------------------------------------------------- + A search pattern may begin with one or more of: + ^N or ! Search for NON-matching lines. + ^E or * Search multiple files (pass thru END OF FILE). + ^F or @ Start search at FIRST file (for /) or last file (for ?). + ^K Highlight matches, but don't move (KEEP position). + ^R Don't use REGULAR EXPRESSIONS. + ^W WRAP search if no match found. + --------------------------------------------------------------------------- + + JJUUMMPPIINNGG + + g < ESC-< * Go to first line in file (or line _N). + G > ESC-> * Go to last line in file (or line _N). + p % * Go to beginning of file (or _N percent into file). + t * Go to the (_N-th) next tag. + T * Go to the (_N-th) previous tag. + { ( [ * Find close bracket } ) ]. + } ) ] * Find open bracket { ( [. + ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>. + ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>. + --------------------------------------------------- + Each "find close bracket" command goes forward to the close bracket + matching the (_N-th) open bracket in the top line. + Each "find open bracket" command goes backward to the open bracket + matching the (_N-th) close bracket in the bottom line. + + m_<_l_e_t_t_e_r_> Mark the current top line with . + M_<_l_e_t_t_e_r_> Mark the current bottom line with . + '_<_l_e_t_t_e_r_> Go to a previously marked position. + '' Go to the previous position. + ^X^X Same as '. + ESC-M_<_l_e_t_t_e_r_> Clear a mark. + --------------------------------------------------- + A mark is any upper-case or lower-case letter. + Certain marks are predefined: + ^ means beginning of the file + $ means end of the file + --------------------------------------------------------------------------- + + CCHHAANNGGIINNGG FFIILLEESS + + :e [_f_i_l_e] Examine a new file. + ^X^V Same as :e. + :n * Examine the (_N-th) next file from the command line. + :p * Examine the (_N-th) previous file from the command line. + :x * Examine the first (or _N-th) file from the command line. + :d Delete the current file from the command line list. + = ^G :f Print current file name. + --------------------------------------------------------------------------- + + MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS + + -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below]. + --_<_n_a_m_e_> Toggle a command line option, by name. + __<_f_l_a_g_> Display the setting of a command line option. + ___<_n_a_m_e_> Display the setting of an option, by name. + +_c_m_d Execute the less cmd each time a new file is examined. + + !_c_o_m_m_a_n_d Execute the shell command with $SHELL. + |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. + s _f_i_l_e Save input to a file. + v Edit the current file with $VISUAL or $EDITOR. + V Print version number of "less". + --------------------------------------------------------------------------- + + OOPPTTIIOONNSS + + Most options may be changed either on the command line, + or from within less by using the - or -- command. + Options may be given in one of two forms: either a single + character preceded by a -, or a name preceded by --. + + -? ........ --help + Display help (from command line). + -a ........ --search-skip-screen + Search skips current screen. + -A ........ --SEARCH-SKIP-SCREEN + Search starts just after target line. + -b [_N] .... --buffers=[_N] + Number of buffers. + -B ........ --auto-buffers + Don't automatically allocate buffers for pipes. + -c ........ --clear-screen + Repaint by clearing rather than scrolling. + -d ........ --dumb + Dumb terminal. + -D xx_c_o_l_o_r . --color=xx_c_o_l_o_r + Set screen colors. + -e -E .... --quit-at-eof --QUIT-AT-EOF + Quit at end of file. + -f ........ --force + Force open non-regular files. + -F ........ --quit-if-one-screen + Quit if entire file fits on first screen. + -g ........ --hilite-search + Highlight only last match for searches. + -G ........ --HILITE-SEARCH + Don't highlight any matches for searches. + -h [_N] .... --max-back-scroll=[_N] + Backward scroll limit. + -i ........ --ignore-case + Ignore case in searches that do not contain uppercase. + -I ........ --IGNORE-CASE + Ignore case in all searches. + -j [_N] .... --jump-target=[_N] + Screen position of target lines. + -J ........ --status-column + Display a status column at left edge of screen. + -k [_f_i_l_e] . --lesskey-file=[_f_i_l_e] + Use a lesskey file. + -K ........ --quit-on-intr + Exit less in response to ctrl-C. + -L ........ --no-lessopen + Ignore the LESSOPEN environment variable. + -m -M .... --long-prompt --LONG-PROMPT + Set prompt style. + -n -N .... --line-numbers --LINE-NUMBERS + Don't use line numbers. + -o [_f_i_l_e] . --log-file=[_f_i_l_e] + Copy to log file (standard input only). + -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e] + Copy to log file (unconditionally overwrite). + -p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n] + Start at pattern (from command line). + -P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t] + Define new prompt. + -q -Q .... --quiet --QUIET --silent --SILENT + Quiet the terminal bell. + -r -R .... --raw-control-chars --RAW-CONTROL-CHARS + Output "raw" control characters. + -s ........ --squeeze-blank-lines + Squeeze multiple blank lines. + -S ........ --chop-long-lines + Chop (truncate) long lines rather than wrapping. + -t [_t_a_g] .. --tag=[_t_a_g] + Find a tag. + -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] + Use an alternate tags file. + -u -U .... --underline-special --UNDERLINE-SPECIAL + Change handling of backspaces. + -V ........ --version + Display the version number of "less". + -w ........ --hilite-unread + Highlight first new line after forward-screen. + -W ........ --HILITE-UNREAD + Highlight first new line after any forward movement. + -x [_N[,...]] --tabs=[_N[,...]] + Set tab stops. + -X ........ --no-init + Don't use termcap init/deinit strings. + -y [_N] .... --max-forw-scroll=[_N] + Forward scroll limit. + -z [_N] .... --window=[_N] + Set size of window. + -" [_c[_c]] . --quotes=[_c[_c]] + Set shell quote characters. + -~ ........ --tilde + Don't display tildes after end of file. + -# [_N] .... --shift=[_N] + Set horizontal scroll amount (0 = one half screen width). + --file-size + Automatically determine the size of the input file. + --follow-name + The F command changes files if the input file is renamed. + --incsearch + Search file as each pattern character is typed in. + --line-num-width=N + Set the width of the -N line number field to N characters. + --mouse + Enable mouse input. + --no-keypad + Don't send termcap keypad init/deinit strings. + --no-histdups + Remove duplicates from command history. + --rscroll=C + Set the character used to mark truncated lines. + --save-marks + Retain marks across invocations of less. + --status-col-width=N + Set the width of the -J status column to N characters. + --use-backslash + Subsequent options use backslash as escape char. + --use-color + Enables colored text. + --wheel-lines=N + Each click of the mouse wheel moves N lines. + + + --------------------------------------------------------------------------- + + LLIINNEE EEDDIITTIINNGG + + These keys can be used to edit text being entered + on the "command line" at the bottom of the screen. + + RightArrow ..................... ESC-l ... Move cursor right one character. + LeftArrow ...................... ESC-h ... Move cursor left one character. + ctrl-RightArrow ESC-RightArrow ESC-w ... Move cursor right one word. + ctrl-LeftArrow ESC-LeftArrow ESC-b ... Move cursor left one word. + HOME ........................... ESC-0 ... Move cursor to start of line. + END ............................ ESC-$ ... Move cursor to end of line. + BACKSPACE ................................ Delete char to left of cursor. + DELETE ......................... ESC-x ... Delete char under cursor. + ctrl-BACKSPACE ESC-BACKSPACE ........... Delete word to left of cursor. + ctrl-DELETE .... ESC-DELETE .... ESC-X ... Delete word under cursor. + ctrl-U ......... ESC (MS-DOS only) ....... Delete entire line. + UpArrow ........................ ESC-k ... Retrieve previous command line. + DownArrow ...................... ESC-j ... Retrieve next command line. + TAB ...................................... Complete filename & cycle. + SHIFT-TAB ...................... ESC-TAB Complete filename & reverse cycle. + ctrl-L ................................... Complete filename, list all. diff --git a/erver and schema b/erver and schema new file mode 100644 index 0000000..86d2696 --- /dev/null +++ b/erver and schema @@ -0,0 +1,59 @@ +025b247 (HEAD -> 74-pokemon-list-element) feat(frontend): bring webview in line with figma +2e33c65 feat(backend): add pokemon sprites to graphql resolvers +b5a897b test(backend): expand pagination and sorting coverage +a67eaa2 feat: implements pagination and filtering with sorting options +fb880f5 fix: typo +bd75f7a feat(backend): download Pokémon sprites during import +49579bd feat: force dark mode +f0ca2f2 test(backend): add GraphQL API integration tests +abcd685 Added forgotten backend files to commit +d59a247 TOuchups from reviews +233e415 Added forgotten files last commit +698a0b1 Added type matchup tab +bae0a45 Added search meny to the UI, with test. +de96306 Make sidebar menu actually navigate between pages. Re-added correct colors. +24f191c (origin/35-test-database-queries) chore: added point list to the issue in the pr template +c292daa fix(flake): define temp dir for mariadb +715ef61 feat: set up a local mariadb instance from the nix flake +73bfd0e Update page.tsx +9c6c1c7 chore: scaffold frontend directories +55a85f1 docs: add new figma prototype +ae2ad34 add project link to root readme +c2d5366 docs: improve project documentation +4ee48a1 refactor(backend): separate GraphQL schema and resolvers +986bb81 fix(backend): align database connection and error handling +8f9264a feat(backend): connect GraphQL resolvers to MySQL +c9c9261 Set up initial GraphQL server and schema +0585edb feat(backend): created script for importing the dataset from showdown +1be9dc6 Updates server.ts to handle errors +2a1f044 Updates readme with backend setup and frontend integration +467e26a feat(frontend): connect Apollo Client to GraphQL API +5f57832 feat(backend): connect GraphQL resolvers to MySQL +43784d9 Set up initial GraphQL server and schema +450f97a chore: update package-lock.json +840bf8f docs: fix and clarify database setup documentation +1cc8e0f chore: override npm package versions from showdown +8153ef4 docs: document the database setup process +baebf43 feat(backend): created script for importing the dataset from showdown +bfe29de Merge pull request #46 from IT2810-H26/21-standardize-issues +f562c68 refactor: renamed PokemonDraftPlanner to frontend +52a9c69 chore: create nix flake +3aa6dc5 moves issue template out of folder for easy access +9466c05 fix: moved issue template into folder +949e13d docs: document our git workflow +736b1f3 fix: moved issue template into folder +a132a3a Merge pull request #39 from IT2810-H26/21-standardize-issues +6aa62dd Create issue_template +71b8a76 Initiialised the Vite project with React and Typescript with React compiler. +36eae3a docs: add gitub pull request template (#20) +11b203c Merge pull request #14 from IT2810-H26/1-figma-prototype +24efb45 Add Figma prototype and architecture to Readme +48c25fe Update README.md +d20f319 Update README.md +aa85c97 Update README.md +e5106ef Update README.md +e7d0a51 Merge pull request #13 from IT2810-H26/docs/architecture +244e797 style: add a line between the diagram and the previous paragraph +94e90b1 chore: document the system architecture +1d83e08 Add CODEOWNERS +bd44a66 Add README diff --git a/frontend/src/assets/components/icons/icons.tsx b/frontend/src/assets/components/icons/icons.tsx new file mode 100644 index 0000000..d1fc458 --- /dev/null +++ b/frontend/src/assets/components/icons/icons.tsx @@ -0,0 +1,61 @@ +type IconProps = { + className?: string; +}; + +const baseProps = { + viewBox: "0 0 24 24", + fill: "none", + stroke: "currentColor", + strokeWidth: 2, + strokeLinecap: "round" as const, + strokeLinejoin: "round" as const, + "aria-hidden": true, + focusable: false, +}; + +export function SearchIcon({ className }: IconProps) { + return ( + + + + + ); +} + +export function GearIcon({ className }: IconProps) { + return ( + + + + + ); +} + +export function ChevronRightIcon({ className }: IconProps) { + return ( + + + + ); +} + +export function TrashIcon({ className }: IconProps) { + return ( + + + + + + + + ); +} + +export function CloseIcon({ className }: IconProps) { + return ( + + + + + ); +} diff --git a/issue template out of folder for easy access b/issue template out of folder for easy access new file mode 100644 index 0000000..333a0b5 --- /dev/null +++ b/issue template out of folder for easy access @@ -0,0 +1,258 @@ + + SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS + + Commands marked with * may be preceded by a number, _N. + Notes in parentheses indicate the behavior if _N is given. + A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K. + + h H Display this help. + q :q Q :Q ZZ Exit. + --------------------------------------------------------------------------- + + MMOOVVIINNGG + + e ^E j ^N CR * Forward one line (or _N lines). + y ^Y k ^K ^P * Backward one line (or _N lines). + f ^F ^V SPACE * Forward one window (or _N lines). + b ^B ESC-v * Backward one window (or _N lines). + z * Forward one window (and set window to _N). + w * Backward one window (and set window to _N). + ESC-SPACE * Forward one window, but don't stop at end-of-file. + d ^D * Forward one half-window (and set half-window to _N). + u ^U * Backward one half-window (and set half-window to _N). + ESC-) RightArrow * Right one half screen width (or _N positions). + ESC-( LeftArrow * Left one half screen width (or _N positions). + ESC-} ^RightArrow Right to last column displayed. + ESC-{ ^LeftArrow Left to first column. + F Forward forever; like "tail -f". + ESC-F Like F but stop when search pattern is found. + r ^R ^L Repaint screen. + R Repaint screen, discarding buffered input. + --------------------------------------------------- + Default "window" is the screen height. + Default "half-window" is half of the screen height. + --------------------------------------------------------------------------- + + SSEEAARRCCHHIINNGG + + /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line. + ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line. + n * Repeat previous search (for _N-th occurrence). + N * Repeat previous search in reverse direction. + ESC-n * Repeat previous search, spanning files. + ESC-N * Repeat previous search, reverse dir. & spanning files. + ESC-u Undo (toggle) search highlighting. + ESC-U Clear search highlighting. + &_p_a_t_t_e_r_n * Display only matching lines. + --------------------------------------------------- + A search pattern may begin with one or more of: + ^N or ! Search for NON-matching lines. + ^E or * Search multiple files (pass thru END OF FILE). + ^F or @ Start search at FIRST file (for /) or last file (for ?). + ^K Highlight matches, but don't move (KEEP position). + ^R Don't use REGULAR EXPRESSIONS. + ^W WRAP search if no match found. + --------------------------------------------------------------------------- + + JJUUMMPPIINNGG + + g < ESC-< * Go to first line in file (or line _N). + G > ESC-> * Go to last line in file (or line _N). + p % * Go to beginning of file (or _N percent into file). + t * Go to the (_N-th) next tag. + T * Go to the (_N-th) previous tag. + { ( [ * Find close bracket } ) ]. + } ) ] * Find open bracket { ( [. + ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>. + ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>. + --------------------------------------------------- + Each "find close bracket" command goes forward to the close bracket + matching the (_N-th) open bracket in the top line. + Each "find open bracket" command goes backward to the open bracket + matching the (_N-th) close bracket in the bottom line. + + m_<_l_e_t_t_e_r_> Mark the current top line with . + M_<_l_e_t_t_e_r_> Mark the current bottom line with . + '_<_l_e_t_t_e_r_> Go to a previously marked position. + '' Go to the previous position. + ^X^X Same as '. + ESC-M_<_l_e_t_t_e_r_> Clear a mark. + --------------------------------------------------- + A mark is any upper-case or lower-case letter. + Certain marks are predefined: + ^ means beginning of the file + $ means end of the file + --------------------------------------------------------------------------- + + CCHHAANNGGIINNGG FFIILLEESS + + :e [_f_i_l_e] Examine a new file. + ^X^V Same as :e. + :n * Examine the (_N-th) next file from the command line. + :p * Examine the (_N-th) previous file from the command line. + :x * Examine the first (or _N-th) file from the command line. + :d Delete the current file from the command line list. + = ^G :f Print current file name. + --------------------------------------------------------------------------- + + MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS + + -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below]. + --_<_n_a_m_e_> Toggle a command line option, by name. + __<_f_l_a_g_> Display the setting of a command line option. + ___<_n_a_m_e_> Display the setting of an option, by name. + +_c_m_d Execute the less cmd each time a new file is examined. + + !_c_o_m_m_a_n_d Execute the shell command with $SHELL. + |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. + s _f_i_l_e Save input to a file. + v Edit the current file with $VISUAL or $EDITOR. + V Print version number of "less". + --------------------------------------------------------------------------- + + OOPPTTIIOONNSS + + Most options may be changed either on the command line, + or from within less by using the - or -- command. + Options may be given in one of two forms: either a single + character preceded by a -, or a name preceded by --. + + -? ........ --help + Display help (from command line). + -a ........ --search-skip-screen + Search skips current screen. + -A ........ --SEARCH-SKIP-SCREEN + Search starts just after target line. + -b [_N] .... --buffers=[_N] + Number of buffers. + -B ........ --auto-buffers + Don't automatically allocate buffers for pipes. + -c ........ --clear-screen + Repaint by clearing rather than scrolling. + -d ........ --dumb + Dumb terminal. + -D xx_c_o_l_o_r . --color=xx_c_o_l_o_r + Set screen colors. + -e -E .... --quit-at-eof --QUIT-AT-EOF + Quit at end of file. + -f ........ --force + Force open non-regular files. + -F ........ --quit-if-one-screen + Quit if entire file fits on first screen. + -g ........ --hilite-search + Highlight only last match for searches. + -G ........ --HILITE-SEARCH + Don't highlight any matches for searches. + -h [_N] .... --max-back-scroll=[_N] + Backward scroll limit. + -i ........ --ignore-case + Ignore case in searches that do not contain uppercase. + -I ........ --IGNORE-CASE + Ignore case in all searches. + -j [_N] .... --jump-target=[_N] + Screen position of target lines. + -J ........ --status-column + Display a status column at left edge of screen. + -k [_f_i_l_e] . --lesskey-file=[_f_i_l_e] + Use a lesskey file. + -K ........ --quit-on-intr + Exit less in response to ctrl-C. + -L ........ --no-lessopen + Ignore the LESSOPEN environment variable. + -m -M .... --long-prompt --LONG-PROMPT + Set prompt style. + -n -N .... --line-numbers --LINE-NUMBERS + Don't use line numbers. + -o [_f_i_l_e] . --log-file=[_f_i_l_e] + Copy to log file (standard input only). + -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e] + Copy to log file (unconditionally overwrite). + -p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n] + Start at pattern (from command line). + -P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t] + Define new prompt. + -q -Q .... --quiet --QUIET --silent --SILENT + Quiet the terminal bell. + -r -R .... --raw-control-chars --RAW-CONTROL-CHARS + Output "raw" control characters. + -s ........ --squeeze-blank-lines + Squeeze multiple blank lines. + -S ........ --chop-long-lines + Chop (truncate) long lines rather than wrapping. + -t [_t_a_g] .. --tag=[_t_a_g] + Find a tag. + -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] + Use an alternate tags file. + -u -U .... --underline-special --UNDERLINE-SPECIAL + Change handling of backspaces. + -V ........ --version + Display the version number of "less". + -w ........ --hilite-unread + Highlight first new line after forward-screen. + -W ........ --HILITE-UNREAD + Highlight first new line after any forward movement. + -x [_N[,...]] --tabs=[_N[,...]] + Set tab stops. + -X ........ --no-init + Don't use termcap init/deinit strings. + -y [_N] .... --max-forw-scroll=[_N] + Forward scroll limit. + -z [_N] .... --window=[_N] + Set size of window. + -" [_c[_c]] . --quotes=[_c[_c]] + Set shell quote characters. + -~ ........ --tilde + Don't display tildes after end of file. + -# [_N] .... --shift=[_N] + Set horizontal scroll amount (0 = one half screen width). + --file-size + Automatically determine the size of the input file. + --follow-name + The F command changes files if the input file is renamed. + --incsearch + Search file as each pattern character is typed in. + --line-num-width=N + Set the width of the -N line number field to N characters. + --mouse + Enable mouse input. + --no-keypad + Don't send termcap keypad init/deinit strings. + --no-histdups + Remove duplicates from command history. + --rscroll=C + Set the character used to mark truncated lines. + --save-marks + Retain marks across invocations of less. + --status-col-width=N + Set the width of the -J status column to N characters. + --use-backslash + Subsequent options use backslash as escape char. + --use-color + Enables colored text. + --wheel-lines=N + Each click of the mouse wheel moves N lines. + + + --------------------------------------------------------------------------- + + LLIINNEE EEDDIITTIINNGG + + These keys can be used to edit text being entered + on the "command line" at the bottom of the screen. + + RightArrow ..................... ESC-l ... Move cursor right one character. + LeftArrow ...................... ESC-h ... Move cursor left one character. + ctrl-RightArrow ESC-RightArrow ESC-w ... Move cursor right one word. + ctrl-LeftArrow ESC-LeftArrow ESC-b ... Move cursor left one word. + HOME ........................... ESC-0 ... Move cursor to start of line. + END ............................ ESC-$ ... Move cursor to end of line. + BACKSPACE ................................ Delete char to left of cursor. + DELETE ......................... ESC-x ... Delete char under cursor. + ctrl-BACKSPACE ESC-BACKSPACE ........... Delete word to left of cursor. + ctrl-DELETE .... ESC-DELETE .... ESC-X ... Delete word under cursor. + ctrl-U ......... ESC (MS-DOS only) ....... Delete entire line. + UpArrow ........................ ESC-k ... Retrieve previous command line. + DownArrow ...................... ESC-j ... Retrieve next command line. + TAB ...................................... Complete filename & cycle. + SHIFT-TAB ...................... ESC-TAB Complete filename & reverse cycle. + ctrl-L ................................... Complete filename, list all. diff --git a/on b/on new file mode 100644 index 0000000..333a0b5 --- /dev/null +++ b/on @@ -0,0 +1,258 @@ + + SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS + + Commands marked with * may be preceded by a number, _N. + Notes in parentheses indicate the behavior if _N is given. + A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K. + + h H Display this help. + q :q Q :Q ZZ Exit. + --------------------------------------------------------------------------- + + MMOOVVIINNGG + + e ^E j ^N CR * Forward one line (or _N lines). + y ^Y k ^K ^P * Backward one line (or _N lines). + f ^F ^V SPACE * Forward one window (or _N lines). + b ^B ESC-v * Backward one window (or _N lines). + z * Forward one window (and set window to _N). + w * Backward one window (and set window to _N). + ESC-SPACE * Forward one window, but don't stop at end-of-file. + d ^D * Forward one half-window (and set half-window to _N). + u ^U * Backward one half-window (and set half-window to _N). + ESC-) RightArrow * Right one half screen width (or _N positions). + ESC-( LeftArrow * Left one half screen width (or _N positions). + ESC-} ^RightArrow Right to last column displayed. + ESC-{ ^LeftArrow Left to first column. + F Forward forever; like "tail -f". + ESC-F Like F but stop when search pattern is found. + r ^R ^L Repaint screen. + R Repaint screen, discarding buffered input. + --------------------------------------------------- + Default "window" is the screen height. + Default "half-window" is half of the screen height. + --------------------------------------------------------------------------- + + SSEEAARRCCHHIINNGG + + /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line. + ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line. + n * Repeat previous search (for _N-th occurrence). + N * Repeat previous search in reverse direction. + ESC-n * Repeat previous search, spanning files. + ESC-N * Repeat previous search, reverse dir. & spanning files. + ESC-u Undo (toggle) search highlighting. + ESC-U Clear search highlighting. + &_p_a_t_t_e_r_n * Display only matching lines. + --------------------------------------------------- + A search pattern may begin with one or more of: + ^N or ! Search for NON-matching lines. + ^E or * Search multiple files (pass thru END OF FILE). + ^F or @ Start search at FIRST file (for /) or last file (for ?). + ^K Highlight matches, but don't move (KEEP position). + ^R Don't use REGULAR EXPRESSIONS. + ^W WRAP search if no match found. + --------------------------------------------------------------------------- + + JJUUMMPPIINNGG + + g < ESC-< * Go to first line in file (or line _N). + G > ESC-> * Go to last line in file (or line _N). + p % * Go to beginning of file (or _N percent into file). + t * Go to the (_N-th) next tag. + T * Go to the (_N-th) previous tag. + { ( [ * Find close bracket } ) ]. + } ) ] * Find open bracket { ( [. + ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>. + ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>. + --------------------------------------------------- + Each "find close bracket" command goes forward to the close bracket + matching the (_N-th) open bracket in the top line. + Each "find open bracket" command goes backward to the open bracket + matching the (_N-th) close bracket in the bottom line. + + m_<_l_e_t_t_e_r_> Mark the current top line with . + M_<_l_e_t_t_e_r_> Mark the current bottom line with . + '_<_l_e_t_t_e_r_> Go to a previously marked position. + '' Go to the previous position. + ^X^X Same as '. + ESC-M_<_l_e_t_t_e_r_> Clear a mark. + --------------------------------------------------- + A mark is any upper-case or lower-case letter. + Certain marks are predefined: + ^ means beginning of the file + $ means end of the file + --------------------------------------------------------------------------- + + CCHHAANNGGIINNGG FFIILLEESS + + :e [_f_i_l_e] Examine a new file. + ^X^V Same as :e. + :n * Examine the (_N-th) next file from the command line. + :p * Examine the (_N-th) previous file from the command line. + :x * Examine the first (or _N-th) file from the command line. + :d Delete the current file from the command line list. + = ^G :f Print current file name. + --------------------------------------------------------------------------- + + MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS + + -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below]. + --_<_n_a_m_e_> Toggle a command line option, by name. + __<_f_l_a_g_> Display the setting of a command line option. + ___<_n_a_m_e_> Display the setting of an option, by name. + +_c_m_d Execute the less cmd each time a new file is examined. + + !_c_o_m_m_a_n_d Execute the shell command with $SHELL. + |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. + s _f_i_l_e Save input to a file. + v Edit the current file with $VISUAL or $EDITOR. + V Print version number of "less". + --------------------------------------------------------------------------- + + OOPPTTIIOONNSS + + Most options may be changed either on the command line, + or from within less by using the - or -- command. + Options may be given in one of two forms: either a single + character preceded by a -, or a name preceded by --. + + -? ........ --help + Display help (from command line). + -a ........ --search-skip-screen + Search skips current screen. + -A ........ --SEARCH-SKIP-SCREEN + Search starts just after target line. + -b [_N] .... --buffers=[_N] + Number of buffers. + -B ........ --auto-buffers + Don't automatically allocate buffers for pipes. + -c ........ --clear-screen + Repaint by clearing rather than scrolling. + -d ........ --dumb + Dumb terminal. + -D xx_c_o_l_o_r . --color=xx_c_o_l_o_r + Set screen colors. + -e -E .... --quit-at-eof --QUIT-AT-EOF + Quit at end of file. + -f ........ --force + Force open non-regular files. + -F ........ --quit-if-one-screen + Quit if entire file fits on first screen. + -g ........ --hilite-search + Highlight only last match for searches. + -G ........ --HILITE-SEARCH + Don't highlight any matches for searches. + -h [_N] .... --max-back-scroll=[_N] + Backward scroll limit. + -i ........ --ignore-case + Ignore case in searches that do not contain uppercase. + -I ........ --IGNORE-CASE + Ignore case in all searches. + -j [_N] .... --jump-target=[_N] + Screen position of target lines. + -J ........ --status-column + Display a status column at left edge of screen. + -k [_f_i_l_e] . --lesskey-file=[_f_i_l_e] + Use a lesskey file. + -K ........ --quit-on-intr + Exit less in response to ctrl-C. + -L ........ --no-lessopen + Ignore the LESSOPEN environment variable. + -m -M .... --long-prompt --LONG-PROMPT + Set prompt style. + -n -N .... --line-numbers --LINE-NUMBERS + Don't use line numbers. + -o [_f_i_l_e] . --log-file=[_f_i_l_e] + Copy to log file (standard input only). + -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e] + Copy to log file (unconditionally overwrite). + -p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n] + Start at pattern (from command line). + -P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t] + Define new prompt. + -q -Q .... --quiet --QUIET --silent --SILENT + Quiet the terminal bell. + -r -R .... --raw-control-chars --RAW-CONTROL-CHARS + Output "raw" control characters. + -s ........ --squeeze-blank-lines + Squeeze multiple blank lines. + -S ........ --chop-long-lines + Chop (truncate) long lines rather than wrapping. + -t [_t_a_g] .. --tag=[_t_a_g] + Find a tag. + -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] + Use an alternate tags file. + -u -U .... --underline-special --UNDERLINE-SPECIAL + Change handling of backspaces. + -V ........ --version + Display the version number of "less". + -w ........ --hilite-unread + Highlight first new line after forward-screen. + -W ........ --HILITE-UNREAD + Highlight first new line after any forward movement. + -x [_N[,...]] --tabs=[_N[,...]] + Set tab stops. + -X ........ --no-init + Don't use termcap init/deinit strings. + -y [_N] .... --max-forw-scroll=[_N] + Forward scroll limit. + -z [_N] .... --window=[_N] + Set size of window. + -" [_c[_c]] . --quotes=[_c[_c]] + Set shell quote characters. + -~ ........ --tilde + Don't display tildes after end of file. + -# [_N] .... --shift=[_N] + Set horizontal scroll amount (0 = one half screen width). + --file-size + Automatically determine the size of the input file. + --follow-name + The F command changes files if the input file is renamed. + --incsearch + Search file as each pattern character is typed in. + --line-num-width=N + Set the width of the -N line number field to N characters. + --mouse + Enable mouse input. + --no-keypad + Don't send termcap keypad init/deinit strings. + --no-histdups + Remove duplicates from command history. + --rscroll=C + Set the character used to mark truncated lines. + --save-marks + Retain marks across invocations of less. + --status-col-width=N + Set the width of the -J status column to N characters. + --use-backslash + Subsequent options use backslash as escape char. + --use-color + Enables colored text. + --wheel-lines=N + Each click of the mouse wheel moves N lines. + + + --------------------------------------------------------------------------- + + LLIINNEE EEDDIITTIINNGG + + These keys can be used to edit text being entered + on the "command line" at the bottom of the screen. + + RightArrow ..................... ESC-l ... Move cursor right one character. + LeftArrow ...................... ESC-h ... Move cursor left one character. + ctrl-RightArrow ESC-RightArrow ESC-w ... Move cursor right one word. + ctrl-LeftArrow ESC-LeftArrow ESC-b ... Move cursor left one word. + HOME ........................... ESC-0 ... Move cursor to start of line. + END ............................ ESC-$ ... Move cursor to end of line. + BACKSPACE ................................ Delete char to left of cursor. + DELETE ......................... ESC-x ... Delete char under cursor. + ctrl-BACKSPACE ESC-BACKSPACE ........... Delete word to left of cursor. + ctrl-DELETE .... ESC-DELETE .... ESC-X ... Delete word under cursor. + ctrl-U ......... ESC (MS-DOS only) ....... Delete entire line. + UpArrow ........................ ESC-k ... Retrieve previous command line. + DownArrow ...................... ESC-j ... Retrieve next command line. + TAB ...................................... Complete filename & cycle. + SHIFT-TAB ...................... ESC-TAB Complete filename & reverse cycle. + ctrl-L ................................... Complete filename, list all. diff --git a/sue_template b/sue_template new file mode 100644 index 0000000..86d2696 --- /dev/null +++ b/sue_template @@ -0,0 +1,59 @@ +025b247 (HEAD -> 74-pokemon-list-element) feat(frontend): bring webview in line with figma +2e33c65 feat(backend): add pokemon sprites to graphql resolvers +b5a897b test(backend): expand pagination and sorting coverage +a67eaa2 feat: implements pagination and filtering with sorting options +fb880f5 fix: typo +bd75f7a feat(backend): download Pokémon sprites during import +49579bd feat: force dark mode +f0ca2f2 test(backend): add GraphQL API integration tests +abcd685 Added forgotten backend files to commit +d59a247 TOuchups from reviews +233e415 Added forgotten files last commit +698a0b1 Added type matchup tab +bae0a45 Added search meny to the UI, with test. +de96306 Make sidebar menu actually navigate between pages. Re-added correct colors. +24f191c (origin/35-test-database-queries) chore: added point list to the issue in the pr template +c292daa fix(flake): define temp dir for mariadb +715ef61 feat: set up a local mariadb instance from the nix flake +73bfd0e Update page.tsx +9c6c1c7 chore: scaffold frontend directories +55a85f1 docs: add new figma prototype +ae2ad34 add project link to root readme +c2d5366 docs: improve project documentation +4ee48a1 refactor(backend): separate GraphQL schema and resolvers +986bb81 fix(backend): align database connection and error handling +8f9264a feat(backend): connect GraphQL resolvers to MySQL +c9c9261 Set up initial GraphQL server and schema +0585edb feat(backend): created script for importing the dataset from showdown +1be9dc6 Updates server.ts to handle errors +2a1f044 Updates readme with backend setup and frontend integration +467e26a feat(frontend): connect Apollo Client to GraphQL API +5f57832 feat(backend): connect GraphQL resolvers to MySQL +43784d9 Set up initial GraphQL server and schema +450f97a chore: update package-lock.json +840bf8f docs: fix and clarify database setup documentation +1cc8e0f chore: override npm package versions from showdown +8153ef4 docs: document the database setup process +baebf43 feat(backend): created script for importing the dataset from showdown +bfe29de Merge pull request #46 from IT2810-H26/21-standardize-issues +f562c68 refactor: renamed PokemonDraftPlanner to frontend +52a9c69 chore: create nix flake +3aa6dc5 moves issue template out of folder for easy access +9466c05 fix: moved issue template into folder +949e13d docs: document our git workflow +736b1f3 fix: moved issue template into folder +a132a3a Merge pull request #39 from IT2810-H26/21-standardize-issues +6aa62dd Create issue_template +71b8a76 Initiialised the Vite project with React and Typescript with React compiler. +36eae3a docs: add gitub pull request template (#20) +11b203c Merge pull request #14 from IT2810-H26/1-figma-prototype +24efb45 Add Figma prototype and architecture to Readme +48c25fe Update README.md +d20f319 Update README.md +aa85c97 Update README.md +e5106ef Update README.md +e7d0a51 Merge pull request #13 from IT2810-H26/docs/architecture +244e797 style: add a line between the diagram and the previous paragraph +94e90b1 chore: document the system architecture +1d83e08 Add CODEOWNERS +bd44a66 Add README From 4aa9b076c6478f9435ed922bdf934df880d6debb Mon Sep 17 00:00:00 2001 From: Agnes Aven Suhr Date: Mon, 2 Nov 2026 13:33:35 +0100 Subject: [PATCH 4/9] Delete IT2810 --- IT2810 | 1 - 1 file changed, 1 deletion(-) delete mode 120000 IT2810 diff --git a/IT2810 b/IT2810 deleted file mode 120000 index fd9a88f..0000000 --- a/IT2810 +++ /dev/null @@ -1 +0,0 @@ -IT2810 \ No newline at end of file From 7565d454ca8947976a3869d40799ff89e7ed4146 Mon Sep 17 00:00:00 2001 From: Agnes Aven Suhr Date: Mon, 2 Nov 2026 13:33:44 +0100 Subject: [PATCH 5/9] Delete changed, 1024 insertions(+), 136 deletions(-) --- changed, 1024 insertions(+), 136 deletions(-) | 258 ------------------ 1 file changed, 258 deletions(-) delete mode 100644 changed, 1024 insertions(+), 136 deletions(-) diff --git a/changed, 1024 insertions(+), 136 deletions(-) b/changed, 1024 insertions(+), 136 deletions(-) deleted file mode 100644 index 333a0b5..0000000 --- a/changed, 1024 insertions(+), 136 deletions(-) +++ /dev/null @@ -1,258 +0,0 @@ - - SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS - - Commands marked with * may be preceded by a number, _N. - Notes in parentheses indicate the behavior if _N is given. - A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K. - - h H Display this help. - q :q Q :Q ZZ Exit. - --------------------------------------------------------------------------- - - MMOOVVIINNGG - - e ^E j ^N CR * Forward one line (or _N lines). - y ^Y k ^K ^P * Backward one line (or _N lines). - f ^F ^V SPACE * Forward one window (or _N lines). - b ^B ESC-v * Backward one window (or _N lines). - z * Forward one window (and set window to _N). - w * Backward one window (and set window to _N). - ESC-SPACE * Forward one window, but don't stop at end-of-file. - d ^D * Forward one half-window (and set half-window to _N). - u ^U * Backward one half-window (and set half-window to _N). - ESC-) RightArrow * Right one half screen width (or _N positions). - ESC-( LeftArrow * Left one half screen width (or _N positions). - ESC-} ^RightArrow Right to last column displayed. - ESC-{ ^LeftArrow Left to first column. - F Forward forever; like "tail -f". - ESC-F Like F but stop when search pattern is found. - r ^R ^L Repaint screen. - R Repaint screen, discarding buffered input. - --------------------------------------------------- - Default "window" is the screen height. - Default "half-window" is half of the screen height. - --------------------------------------------------------------------------- - - SSEEAARRCCHHIINNGG - - /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line. - ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line. - n * Repeat previous search (for _N-th occurrence). - N * Repeat previous search in reverse direction. - ESC-n * Repeat previous search, spanning files. - ESC-N * Repeat previous search, reverse dir. & spanning files. - ESC-u Undo (toggle) search highlighting. - ESC-U Clear search highlighting. - &_p_a_t_t_e_r_n * Display only matching lines. - --------------------------------------------------- - A search pattern may begin with one or more of: - ^N or ! Search for NON-matching lines. - ^E or * Search multiple files (pass thru END OF FILE). - ^F or @ Start search at FIRST file (for /) or last file (for ?). - ^K Highlight matches, but don't move (KEEP position). - ^R Don't use REGULAR EXPRESSIONS. - ^W WRAP search if no match found. - --------------------------------------------------------------------------- - - JJUUMMPPIINNGG - - g < ESC-< * Go to first line in file (or line _N). - G > ESC-> * Go to last line in file (or line _N). - p % * Go to beginning of file (or _N percent into file). - t * Go to the (_N-th) next tag. - T * Go to the (_N-th) previous tag. - { ( [ * Find close bracket } ) ]. - } ) ] * Find open bracket { ( [. - ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>. - ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>. - --------------------------------------------------- - Each "find close bracket" command goes forward to the close bracket - matching the (_N-th) open bracket in the top line. - Each "find open bracket" command goes backward to the open bracket - matching the (_N-th) close bracket in the bottom line. - - m_<_l_e_t_t_e_r_> Mark the current top line with . - M_<_l_e_t_t_e_r_> Mark the current bottom line with . - '_<_l_e_t_t_e_r_> Go to a previously marked position. - '' Go to the previous position. - ^X^X Same as '. - ESC-M_<_l_e_t_t_e_r_> Clear a mark. - --------------------------------------------------- - A mark is any upper-case or lower-case letter. - Certain marks are predefined: - ^ means beginning of the file - $ means end of the file - --------------------------------------------------------------------------- - - CCHHAANNGGIINNGG FFIILLEESS - - :e [_f_i_l_e] Examine a new file. - ^X^V Same as :e. - :n * Examine the (_N-th) next file from the command line. - :p * Examine the (_N-th) previous file from the command line. - :x * Examine the first (or _N-th) file from the command line. - :d Delete the current file from the command line list. - = ^G :f Print current file name. - --------------------------------------------------------------------------- - - MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS - - -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below]. - --_<_n_a_m_e_> Toggle a command line option, by name. - __<_f_l_a_g_> Display the setting of a command line option. - ___<_n_a_m_e_> Display the setting of an option, by name. - +_c_m_d Execute the less cmd each time a new file is examined. - - !_c_o_m_m_a_n_d Execute the shell command with $SHELL. - |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. - s _f_i_l_e Save input to a file. - v Edit the current file with $VISUAL or $EDITOR. - V Print version number of "less". - --------------------------------------------------------------------------- - - OOPPTTIIOONNSS - - Most options may be changed either on the command line, - or from within less by using the - or -- command. - Options may be given in one of two forms: either a single - character preceded by a -, or a name preceded by --. - - -? ........ --help - Display help (from command line). - -a ........ --search-skip-screen - Search skips current screen. - -A ........ --SEARCH-SKIP-SCREEN - Search starts just after target line. - -b [_N] .... --buffers=[_N] - Number of buffers. - -B ........ --auto-buffers - Don't automatically allocate buffers for pipes. - -c ........ --clear-screen - Repaint by clearing rather than scrolling. - -d ........ --dumb - Dumb terminal. - -D xx_c_o_l_o_r . --color=xx_c_o_l_o_r - Set screen colors. - -e -E .... --quit-at-eof --QUIT-AT-EOF - Quit at end of file. - -f ........ --force - Force open non-regular files. - -F ........ --quit-if-one-screen - Quit if entire file fits on first screen. - -g ........ --hilite-search - Highlight only last match for searches. - -G ........ --HILITE-SEARCH - Don't highlight any matches for searches. - -h [_N] .... --max-back-scroll=[_N] - Backward scroll limit. - -i ........ --ignore-case - Ignore case in searches that do not contain uppercase. - -I ........ --IGNORE-CASE - Ignore case in all searches. - -j [_N] .... --jump-target=[_N] - Screen position of target lines. - -J ........ --status-column - Display a status column at left edge of screen. - -k [_f_i_l_e] . --lesskey-file=[_f_i_l_e] - Use a lesskey file. - -K ........ --quit-on-intr - Exit less in response to ctrl-C. - -L ........ --no-lessopen - Ignore the LESSOPEN environment variable. - -m -M .... --long-prompt --LONG-PROMPT - Set prompt style. - -n -N .... --line-numbers --LINE-NUMBERS - Don't use line numbers. - -o [_f_i_l_e] . --log-file=[_f_i_l_e] - Copy to log file (standard input only). - -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e] - Copy to log file (unconditionally overwrite). - -p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n] - Start at pattern (from command line). - -P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t] - Define new prompt. - -q -Q .... --quiet --QUIET --silent --SILENT - Quiet the terminal bell. - -r -R .... --raw-control-chars --RAW-CONTROL-CHARS - Output "raw" control characters. - -s ........ --squeeze-blank-lines - Squeeze multiple blank lines. - -S ........ --chop-long-lines - Chop (truncate) long lines rather than wrapping. - -t [_t_a_g] .. --tag=[_t_a_g] - Find a tag. - -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] - Use an alternate tags file. - -u -U .... --underline-special --UNDERLINE-SPECIAL - Change handling of backspaces. - -V ........ --version - Display the version number of "less". - -w ........ --hilite-unread - Highlight first new line after forward-screen. - -W ........ --HILITE-UNREAD - Highlight first new line after any forward movement. - -x [_N[,...]] --tabs=[_N[,...]] - Set tab stops. - -X ........ --no-init - Don't use termcap init/deinit strings. - -y [_N] .... --max-forw-scroll=[_N] - Forward scroll limit. - -z [_N] .... --window=[_N] - Set size of window. - -" [_c[_c]] . --quotes=[_c[_c]] - Set shell quote characters. - -~ ........ --tilde - Don't display tildes after end of file. - -# [_N] .... --shift=[_N] - Set horizontal scroll amount (0 = one half screen width). - --file-size - Automatically determine the size of the input file. - --follow-name - The F command changes files if the input file is renamed. - --incsearch - Search file as each pattern character is typed in. - --line-num-width=N - Set the width of the -N line number field to N characters. - --mouse - Enable mouse input. - --no-keypad - Don't send termcap keypad init/deinit strings. - --no-histdups - Remove duplicates from command history. - --rscroll=C - Set the character used to mark truncated lines. - --save-marks - Retain marks across invocations of less. - --status-col-width=N - Set the width of the -J status column to N characters. - --use-backslash - Subsequent options use backslash as escape char. - --use-color - Enables colored text. - --wheel-lines=N - Each click of the mouse wheel moves N lines. - - - --------------------------------------------------------------------------- - - LLIINNEE EEDDIITTIINNGG - - These keys can be used to edit text being entered - on the "command line" at the bottom of the screen. - - RightArrow ..................... ESC-l ... Move cursor right one character. - LeftArrow ...................... ESC-h ... Move cursor left one character. - ctrl-RightArrow ESC-RightArrow ESC-w ... Move cursor right one word. - ctrl-LeftArrow ESC-LeftArrow ESC-b ... Move cursor left one word. - HOME ........................... ESC-0 ... Move cursor to start of line. - END ............................ ESC-$ ... Move cursor to end of line. - BACKSPACE ................................ Delete char to left of cursor. - DELETE ......................... ESC-x ... Delete char under cursor. - ctrl-BACKSPACE ESC-BACKSPACE ........... Delete word to left of cursor. - ctrl-DELETE .... ESC-DELETE .... ESC-X ... Delete word under cursor. - ctrl-U ......... ESC (MS-DOS only) ....... Delete entire line. - UpArrow ........................ ESC-k ... Retrieve previous command line. - DownArrow ...................... ESC-j ... Retrieve next command line. - TAB ...................................... Complete filename & cycle. - SHIFT-TAB ...................... ESC-TAB Complete filename & reverse cycle. - ctrl-L ................................... Complete filename, list all. From 88fc117db3320e48216f3cf70da8f74de5c4761f Mon Sep 17 00:00:00 2001 From: Agnes Aven Suhr Date: Mon, 2 Nov 2026 13:33:54 +0100 Subject: [PATCH 6/9] Delete erver and schema --- erver and schema | 59 ------------------------------------------------ 1 file changed, 59 deletions(-) delete mode 100644 erver and schema diff --git a/erver and schema b/erver and schema deleted file mode 100644 index 86d2696..0000000 --- a/erver and schema +++ /dev/null @@ -1,59 +0,0 @@ -025b247 (HEAD -> 74-pokemon-list-element) feat(frontend): bring webview in line with figma -2e33c65 feat(backend): add pokemon sprites to graphql resolvers -b5a897b test(backend): expand pagination and sorting coverage -a67eaa2 feat: implements pagination and filtering with sorting options -fb880f5 fix: typo -bd75f7a feat(backend): download Pokémon sprites during import -49579bd feat: force dark mode -f0ca2f2 test(backend): add GraphQL API integration tests -abcd685 Added forgotten backend files to commit -d59a247 TOuchups from reviews -233e415 Added forgotten files last commit -698a0b1 Added type matchup tab -bae0a45 Added search meny to the UI, with test. -de96306 Make sidebar menu actually navigate between pages. Re-added correct colors. -24f191c (origin/35-test-database-queries) chore: added point list to the issue in the pr template -c292daa fix(flake): define temp dir for mariadb -715ef61 feat: set up a local mariadb instance from the nix flake -73bfd0e Update page.tsx -9c6c1c7 chore: scaffold frontend directories -55a85f1 docs: add new figma prototype -ae2ad34 add project link to root readme -c2d5366 docs: improve project documentation -4ee48a1 refactor(backend): separate GraphQL schema and resolvers -986bb81 fix(backend): align database connection and error handling -8f9264a feat(backend): connect GraphQL resolvers to MySQL -c9c9261 Set up initial GraphQL server and schema -0585edb feat(backend): created script for importing the dataset from showdown -1be9dc6 Updates server.ts to handle errors -2a1f044 Updates readme with backend setup and frontend integration -467e26a feat(frontend): connect Apollo Client to GraphQL API -5f57832 feat(backend): connect GraphQL resolvers to MySQL -43784d9 Set up initial GraphQL server and schema -450f97a chore: update package-lock.json -840bf8f docs: fix and clarify database setup documentation -1cc8e0f chore: override npm package versions from showdown -8153ef4 docs: document the database setup process -baebf43 feat(backend): created script for importing the dataset from showdown -bfe29de Merge pull request #46 from IT2810-H26/21-standardize-issues -f562c68 refactor: renamed PokemonDraftPlanner to frontend -52a9c69 chore: create nix flake -3aa6dc5 moves issue template out of folder for easy access -9466c05 fix: moved issue template into folder -949e13d docs: document our git workflow -736b1f3 fix: moved issue template into folder -a132a3a Merge pull request #39 from IT2810-H26/21-standardize-issues -6aa62dd Create issue_template -71b8a76 Initiialised the Vite project with React and Typescript with React compiler. -36eae3a docs: add gitub pull request template (#20) -11b203c Merge pull request #14 from IT2810-H26/1-figma-prototype -24efb45 Add Figma prototype and architecture to Readme -48c25fe Update README.md -d20f319 Update README.md -aa85c97 Update README.md -e5106ef Update README.md -e7d0a51 Merge pull request #13 from IT2810-H26/docs/architecture -244e797 style: add a line between the diagram and the previous paragraph -94e90b1 chore: document the system architecture -1d83e08 Add CODEOWNERS -bd44a66 Add README From 4d5da3503201e668ce9f8ba5d86f9fb568b59d30 Mon Sep 17 00:00:00 2001 From: Agnes Aven Suhr Date: Mon, 2 Nov 2026 13:34:11 +0100 Subject: [PATCH 7/9] Delete issue template out of folder for easy access --- issue template out of folder for easy access | 258 ------------------- 1 file changed, 258 deletions(-) delete mode 100644 issue template out of folder for easy access diff --git a/issue template out of folder for easy access b/issue template out of folder for easy access deleted file mode 100644 index 333a0b5..0000000 --- a/issue template out of folder for easy access +++ /dev/null @@ -1,258 +0,0 @@ - - SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS - - Commands marked with * may be preceded by a number, _N. - Notes in parentheses indicate the behavior if _N is given. - A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K. - - h H Display this help. - q :q Q :Q ZZ Exit. - --------------------------------------------------------------------------- - - MMOOVVIINNGG - - e ^E j ^N CR * Forward one line (or _N lines). - y ^Y k ^K ^P * Backward one line (or _N lines). - f ^F ^V SPACE * Forward one window (or _N lines). - b ^B ESC-v * Backward one window (or _N lines). - z * Forward one window (and set window to _N). - w * Backward one window (and set window to _N). - ESC-SPACE * Forward one window, but don't stop at end-of-file. - d ^D * Forward one half-window (and set half-window to _N). - u ^U * Backward one half-window (and set half-window to _N). - ESC-) RightArrow * Right one half screen width (or _N positions). - ESC-( LeftArrow * Left one half screen width (or _N positions). - ESC-} ^RightArrow Right to last column displayed. - ESC-{ ^LeftArrow Left to first column. - F Forward forever; like "tail -f". - ESC-F Like F but stop when search pattern is found. - r ^R ^L Repaint screen. - R Repaint screen, discarding buffered input. - --------------------------------------------------- - Default "window" is the screen height. - Default "half-window" is half of the screen height. - --------------------------------------------------------------------------- - - SSEEAARRCCHHIINNGG - - /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line. - ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line. - n * Repeat previous search (for _N-th occurrence). - N * Repeat previous search in reverse direction. - ESC-n * Repeat previous search, spanning files. - ESC-N * Repeat previous search, reverse dir. & spanning files. - ESC-u Undo (toggle) search highlighting. - ESC-U Clear search highlighting. - &_p_a_t_t_e_r_n * Display only matching lines. - --------------------------------------------------- - A search pattern may begin with one or more of: - ^N or ! Search for NON-matching lines. - ^E or * Search multiple files (pass thru END OF FILE). - ^F or @ Start search at FIRST file (for /) or last file (for ?). - ^K Highlight matches, but don't move (KEEP position). - ^R Don't use REGULAR EXPRESSIONS. - ^W WRAP search if no match found. - --------------------------------------------------------------------------- - - JJUUMMPPIINNGG - - g < ESC-< * Go to first line in file (or line _N). - G > ESC-> * Go to last line in file (or line _N). - p % * Go to beginning of file (or _N percent into file). - t * Go to the (_N-th) next tag. - T * Go to the (_N-th) previous tag. - { ( [ * Find close bracket } ) ]. - } ) ] * Find open bracket { ( [. - ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>. - ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>. - --------------------------------------------------- - Each "find close bracket" command goes forward to the close bracket - matching the (_N-th) open bracket in the top line. - Each "find open bracket" command goes backward to the open bracket - matching the (_N-th) close bracket in the bottom line. - - m_<_l_e_t_t_e_r_> Mark the current top line with . - M_<_l_e_t_t_e_r_> Mark the current bottom line with . - '_<_l_e_t_t_e_r_> Go to a previously marked position. - '' Go to the previous position. - ^X^X Same as '. - ESC-M_<_l_e_t_t_e_r_> Clear a mark. - --------------------------------------------------- - A mark is any upper-case or lower-case letter. - Certain marks are predefined: - ^ means beginning of the file - $ means end of the file - --------------------------------------------------------------------------- - - CCHHAANNGGIINNGG FFIILLEESS - - :e [_f_i_l_e] Examine a new file. - ^X^V Same as :e. - :n * Examine the (_N-th) next file from the command line. - :p * Examine the (_N-th) previous file from the command line. - :x * Examine the first (or _N-th) file from the command line. - :d Delete the current file from the command line list. - = ^G :f Print current file name. - --------------------------------------------------------------------------- - - MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS - - -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below]. - --_<_n_a_m_e_> Toggle a command line option, by name. - __<_f_l_a_g_> Display the setting of a command line option. - ___<_n_a_m_e_> Display the setting of an option, by name. - +_c_m_d Execute the less cmd each time a new file is examined. - - !_c_o_m_m_a_n_d Execute the shell command with $SHELL. - |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. - s _f_i_l_e Save input to a file. - v Edit the current file with $VISUAL or $EDITOR. - V Print version number of "less". - --------------------------------------------------------------------------- - - OOPPTTIIOONNSS - - Most options may be changed either on the command line, - or from within less by using the - or -- command. - Options may be given in one of two forms: either a single - character preceded by a -, or a name preceded by --. - - -? ........ --help - Display help (from command line). - -a ........ --search-skip-screen - Search skips current screen. - -A ........ --SEARCH-SKIP-SCREEN - Search starts just after target line. - -b [_N] .... --buffers=[_N] - Number of buffers. - -B ........ --auto-buffers - Don't automatically allocate buffers for pipes. - -c ........ --clear-screen - Repaint by clearing rather than scrolling. - -d ........ --dumb - Dumb terminal. - -D xx_c_o_l_o_r . --color=xx_c_o_l_o_r - Set screen colors. - -e -E .... --quit-at-eof --QUIT-AT-EOF - Quit at end of file. - -f ........ --force - Force open non-regular files. - -F ........ --quit-if-one-screen - Quit if entire file fits on first screen. - -g ........ --hilite-search - Highlight only last match for searches. - -G ........ --HILITE-SEARCH - Don't highlight any matches for searches. - -h [_N] .... --max-back-scroll=[_N] - Backward scroll limit. - -i ........ --ignore-case - Ignore case in searches that do not contain uppercase. - -I ........ --IGNORE-CASE - Ignore case in all searches. - -j [_N] .... --jump-target=[_N] - Screen position of target lines. - -J ........ --status-column - Display a status column at left edge of screen. - -k [_f_i_l_e] . --lesskey-file=[_f_i_l_e] - Use a lesskey file. - -K ........ --quit-on-intr - Exit less in response to ctrl-C. - -L ........ --no-lessopen - Ignore the LESSOPEN environment variable. - -m -M .... --long-prompt --LONG-PROMPT - Set prompt style. - -n -N .... --line-numbers --LINE-NUMBERS - Don't use line numbers. - -o [_f_i_l_e] . --log-file=[_f_i_l_e] - Copy to log file (standard input only). - -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e] - Copy to log file (unconditionally overwrite). - -p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n] - Start at pattern (from command line). - -P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t] - Define new prompt. - -q -Q .... --quiet --QUIET --silent --SILENT - Quiet the terminal bell. - -r -R .... --raw-control-chars --RAW-CONTROL-CHARS - Output "raw" control characters. - -s ........ --squeeze-blank-lines - Squeeze multiple blank lines. - -S ........ --chop-long-lines - Chop (truncate) long lines rather than wrapping. - -t [_t_a_g] .. --tag=[_t_a_g] - Find a tag. - -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] - Use an alternate tags file. - -u -U .... --underline-special --UNDERLINE-SPECIAL - Change handling of backspaces. - -V ........ --version - Display the version number of "less". - -w ........ --hilite-unread - Highlight first new line after forward-screen. - -W ........ --HILITE-UNREAD - Highlight first new line after any forward movement. - -x [_N[,...]] --tabs=[_N[,...]] - Set tab stops. - -X ........ --no-init - Don't use termcap init/deinit strings. - -y [_N] .... --max-forw-scroll=[_N] - Forward scroll limit. - -z [_N] .... --window=[_N] - Set size of window. - -" [_c[_c]] . --quotes=[_c[_c]] - Set shell quote characters. - -~ ........ --tilde - Don't display tildes after end of file. - -# [_N] .... --shift=[_N] - Set horizontal scroll amount (0 = one half screen width). - --file-size - Automatically determine the size of the input file. - --follow-name - The F command changes files if the input file is renamed. - --incsearch - Search file as each pattern character is typed in. - --line-num-width=N - Set the width of the -N line number field to N characters. - --mouse - Enable mouse input. - --no-keypad - Don't send termcap keypad init/deinit strings. - --no-histdups - Remove duplicates from command history. - --rscroll=C - Set the character used to mark truncated lines. - --save-marks - Retain marks across invocations of less. - --status-col-width=N - Set the width of the -J status column to N characters. - --use-backslash - Subsequent options use backslash as escape char. - --use-color - Enables colored text. - --wheel-lines=N - Each click of the mouse wheel moves N lines. - - - --------------------------------------------------------------------------- - - LLIINNEE EEDDIITTIINNGG - - These keys can be used to edit text being entered - on the "command line" at the bottom of the screen. - - RightArrow ..................... ESC-l ... Move cursor right one character. - LeftArrow ...................... ESC-h ... Move cursor left one character. - ctrl-RightArrow ESC-RightArrow ESC-w ... Move cursor right one word. - ctrl-LeftArrow ESC-LeftArrow ESC-b ... Move cursor left one word. - HOME ........................... ESC-0 ... Move cursor to start of line. - END ............................ ESC-$ ... Move cursor to end of line. - BACKSPACE ................................ Delete char to left of cursor. - DELETE ......................... ESC-x ... Delete char under cursor. - ctrl-BACKSPACE ESC-BACKSPACE ........... Delete word to left of cursor. - ctrl-DELETE .... ESC-DELETE .... ESC-X ... Delete word under cursor. - ctrl-U ......... ESC (MS-DOS only) ....... Delete entire line. - UpArrow ........................ ESC-k ... Retrieve previous command line. - DownArrow ...................... ESC-j ... Retrieve next command line. - TAB ...................................... Complete filename & cycle. - SHIFT-TAB ...................... ESC-TAB Complete filename & reverse cycle. - ctrl-L ................................... Complete filename, list all. From e2528ee8c1f5b171d7a832df9040b46838bfa8e7 Mon Sep 17 00:00:00 2001 From: Agnes Aven Suhr Date: Mon, 2 Nov 2026 13:34:24 +0100 Subject: [PATCH 8/9] Delete on --- on | 258 ------------------------------------------------------------- 1 file changed, 258 deletions(-) delete mode 100644 on diff --git a/on b/on deleted file mode 100644 index 333a0b5..0000000 --- a/on +++ /dev/null @@ -1,258 +0,0 @@ - - SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS - - Commands marked with * may be preceded by a number, _N. - Notes in parentheses indicate the behavior if _N is given. - A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K. - - h H Display this help. - q :q Q :Q ZZ Exit. - --------------------------------------------------------------------------- - - MMOOVVIINNGG - - e ^E j ^N CR * Forward one line (or _N lines). - y ^Y k ^K ^P * Backward one line (or _N lines). - f ^F ^V SPACE * Forward one window (or _N lines). - b ^B ESC-v * Backward one window (or _N lines). - z * Forward one window (and set window to _N). - w * Backward one window (and set window to _N). - ESC-SPACE * Forward one window, but don't stop at end-of-file. - d ^D * Forward one half-window (and set half-window to _N). - u ^U * Backward one half-window (and set half-window to _N). - ESC-) RightArrow * Right one half screen width (or _N positions). - ESC-( LeftArrow * Left one half screen width (or _N positions). - ESC-} ^RightArrow Right to last column displayed. - ESC-{ ^LeftArrow Left to first column. - F Forward forever; like "tail -f". - ESC-F Like F but stop when search pattern is found. - r ^R ^L Repaint screen. - R Repaint screen, discarding buffered input. - --------------------------------------------------- - Default "window" is the screen height. - Default "half-window" is half of the screen height. - --------------------------------------------------------------------------- - - SSEEAARRCCHHIINNGG - - /_p_a_t_t_e_r_n * Search forward for (_N-th) matching line. - ?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line. - n * Repeat previous search (for _N-th occurrence). - N * Repeat previous search in reverse direction. - ESC-n * Repeat previous search, spanning files. - ESC-N * Repeat previous search, reverse dir. & spanning files. - ESC-u Undo (toggle) search highlighting. - ESC-U Clear search highlighting. - &_p_a_t_t_e_r_n * Display only matching lines. - --------------------------------------------------- - A search pattern may begin with one or more of: - ^N or ! Search for NON-matching lines. - ^E or * Search multiple files (pass thru END OF FILE). - ^F or @ Start search at FIRST file (for /) or last file (for ?). - ^K Highlight matches, but don't move (KEEP position). - ^R Don't use REGULAR EXPRESSIONS. - ^W WRAP search if no match found. - --------------------------------------------------------------------------- - - JJUUMMPPIINNGG - - g < ESC-< * Go to first line in file (or line _N). - G > ESC-> * Go to last line in file (or line _N). - p % * Go to beginning of file (or _N percent into file). - t * Go to the (_N-th) next tag. - T * Go to the (_N-th) previous tag. - { ( [ * Find close bracket } ) ]. - } ) ] * Find open bracket { ( [. - ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>. - ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>. - --------------------------------------------------- - Each "find close bracket" command goes forward to the close bracket - matching the (_N-th) open bracket in the top line. - Each "find open bracket" command goes backward to the open bracket - matching the (_N-th) close bracket in the bottom line. - - m_<_l_e_t_t_e_r_> Mark the current top line with . - M_<_l_e_t_t_e_r_> Mark the current bottom line with . - '_<_l_e_t_t_e_r_> Go to a previously marked position. - '' Go to the previous position. - ^X^X Same as '. - ESC-M_<_l_e_t_t_e_r_> Clear a mark. - --------------------------------------------------- - A mark is any upper-case or lower-case letter. - Certain marks are predefined: - ^ means beginning of the file - $ means end of the file - --------------------------------------------------------------------------- - - CCHHAANNGGIINNGG FFIILLEESS - - :e [_f_i_l_e] Examine a new file. - ^X^V Same as :e. - :n * Examine the (_N-th) next file from the command line. - :p * Examine the (_N-th) previous file from the command line. - :x * Examine the first (or _N-th) file from the command line. - :d Delete the current file from the command line list. - = ^G :f Print current file name. - --------------------------------------------------------------------------- - - MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS - - -_<_f_l_a_g_> Toggle a command line option [see OPTIONS below]. - --_<_n_a_m_e_> Toggle a command line option, by name. - __<_f_l_a_g_> Display the setting of a command line option. - ___<_n_a_m_e_> Display the setting of an option, by name. - +_c_m_d Execute the less cmd each time a new file is examined. - - !_c_o_m_m_a_n_d Execute the shell command with $SHELL. - |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. - s _f_i_l_e Save input to a file. - v Edit the current file with $VISUAL or $EDITOR. - V Print version number of "less". - --------------------------------------------------------------------------- - - OOPPTTIIOONNSS - - Most options may be changed either on the command line, - or from within less by using the - or -- command. - Options may be given in one of two forms: either a single - character preceded by a -, or a name preceded by --. - - -? ........ --help - Display help (from command line). - -a ........ --search-skip-screen - Search skips current screen. - -A ........ --SEARCH-SKIP-SCREEN - Search starts just after target line. - -b [_N] .... --buffers=[_N] - Number of buffers. - -B ........ --auto-buffers - Don't automatically allocate buffers for pipes. - -c ........ --clear-screen - Repaint by clearing rather than scrolling. - -d ........ --dumb - Dumb terminal. - -D xx_c_o_l_o_r . --color=xx_c_o_l_o_r - Set screen colors. - -e -E .... --quit-at-eof --QUIT-AT-EOF - Quit at end of file. - -f ........ --force - Force open non-regular files. - -F ........ --quit-if-one-screen - Quit if entire file fits on first screen. - -g ........ --hilite-search - Highlight only last match for searches. - -G ........ --HILITE-SEARCH - Don't highlight any matches for searches. - -h [_N] .... --max-back-scroll=[_N] - Backward scroll limit. - -i ........ --ignore-case - Ignore case in searches that do not contain uppercase. - -I ........ --IGNORE-CASE - Ignore case in all searches. - -j [_N] .... --jump-target=[_N] - Screen position of target lines. - -J ........ --status-column - Display a status column at left edge of screen. - -k [_f_i_l_e] . --lesskey-file=[_f_i_l_e] - Use a lesskey file. - -K ........ --quit-on-intr - Exit less in response to ctrl-C. - -L ........ --no-lessopen - Ignore the LESSOPEN environment variable. - -m -M .... --long-prompt --LONG-PROMPT - Set prompt style. - -n -N .... --line-numbers --LINE-NUMBERS - Don't use line numbers. - -o [_f_i_l_e] . --log-file=[_f_i_l_e] - Copy to log file (standard input only). - -O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e] - Copy to log file (unconditionally overwrite). - -p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n] - Start at pattern (from command line). - -P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t] - Define new prompt. - -q -Q .... --quiet --QUIET --silent --SILENT - Quiet the terminal bell. - -r -R .... --raw-control-chars --RAW-CONTROL-CHARS - Output "raw" control characters. - -s ........ --squeeze-blank-lines - Squeeze multiple blank lines. - -S ........ --chop-long-lines - Chop (truncate) long lines rather than wrapping. - -t [_t_a_g] .. --tag=[_t_a_g] - Find a tag. - -T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e] - Use an alternate tags file. - -u -U .... --underline-special --UNDERLINE-SPECIAL - Change handling of backspaces. - -V ........ --version - Display the version number of "less". - -w ........ --hilite-unread - Highlight first new line after forward-screen. - -W ........ --HILITE-UNREAD - Highlight first new line after any forward movement. - -x [_N[,...]] --tabs=[_N[,...]] - Set tab stops. - -X ........ --no-init - Don't use termcap init/deinit strings. - -y [_N] .... --max-forw-scroll=[_N] - Forward scroll limit. - -z [_N] .... --window=[_N] - Set size of window. - -" [_c[_c]] . --quotes=[_c[_c]] - Set shell quote characters. - -~ ........ --tilde - Don't display tildes after end of file. - -# [_N] .... --shift=[_N] - Set horizontal scroll amount (0 = one half screen width). - --file-size - Automatically determine the size of the input file. - --follow-name - The F command changes files if the input file is renamed. - --incsearch - Search file as each pattern character is typed in. - --line-num-width=N - Set the width of the -N line number field to N characters. - --mouse - Enable mouse input. - --no-keypad - Don't send termcap keypad init/deinit strings. - --no-histdups - Remove duplicates from command history. - --rscroll=C - Set the character used to mark truncated lines. - --save-marks - Retain marks across invocations of less. - --status-col-width=N - Set the width of the -J status column to N characters. - --use-backslash - Subsequent options use backslash as escape char. - --use-color - Enables colored text. - --wheel-lines=N - Each click of the mouse wheel moves N lines. - - - --------------------------------------------------------------------------- - - LLIINNEE EEDDIITTIINNGG - - These keys can be used to edit text being entered - on the "command line" at the bottom of the screen. - - RightArrow ..................... ESC-l ... Move cursor right one character. - LeftArrow ...................... ESC-h ... Move cursor left one character. - ctrl-RightArrow ESC-RightArrow ESC-w ... Move cursor right one word. - ctrl-LeftArrow ESC-LeftArrow ESC-b ... Move cursor left one word. - HOME ........................... ESC-0 ... Move cursor to start of line. - END ............................ ESC-$ ... Move cursor to end of line. - BACKSPACE ................................ Delete char to left of cursor. - DELETE ......................... ESC-x ... Delete char under cursor. - ctrl-BACKSPACE ESC-BACKSPACE ........... Delete word to left of cursor. - ctrl-DELETE .... ESC-DELETE .... ESC-X ... Delete word under cursor. - ctrl-U ......... ESC (MS-DOS only) ....... Delete entire line. - UpArrow ........................ ESC-k ... Retrieve previous command line. - DownArrow ...................... ESC-j ... Retrieve next command line. - TAB ...................................... Complete filename & cycle. - SHIFT-TAB ...................... ESC-TAB Complete filename & reverse cycle. - ctrl-L ................................... Complete filename, list all. From 6865fa1bb75e6537796ffec4c086cc9ff695602f Mon Sep 17 00:00:00 2001 From: Agnes Aven Suhr Date: Mon, 2 Nov 2026 13:34:38 +0100 Subject: [PATCH 9/9] Delete sue_template --- sue_template | 59 ---------------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 sue_template diff --git a/sue_template b/sue_template deleted file mode 100644 index 86d2696..0000000 --- a/sue_template +++ /dev/null @@ -1,59 +0,0 @@ -025b247 (HEAD -> 74-pokemon-list-element) feat(frontend): bring webview in line with figma -2e33c65 feat(backend): add pokemon sprites to graphql resolvers -b5a897b test(backend): expand pagination and sorting coverage -a67eaa2 feat: implements pagination and filtering with sorting options -fb880f5 fix: typo -bd75f7a feat(backend): download Pokémon sprites during import -49579bd feat: force dark mode -f0ca2f2 test(backend): add GraphQL API integration tests -abcd685 Added forgotten backend files to commit -d59a247 TOuchups from reviews -233e415 Added forgotten files last commit -698a0b1 Added type matchup tab -bae0a45 Added search meny to the UI, with test. -de96306 Make sidebar menu actually navigate between pages. Re-added correct colors. -24f191c (origin/35-test-database-queries) chore: added point list to the issue in the pr template -c292daa fix(flake): define temp dir for mariadb -715ef61 feat: set up a local mariadb instance from the nix flake -73bfd0e Update page.tsx -9c6c1c7 chore: scaffold frontend directories -55a85f1 docs: add new figma prototype -ae2ad34 add project link to root readme -c2d5366 docs: improve project documentation -4ee48a1 refactor(backend): separate GraphQL schema and resolvers -986bb81 fix(backend): align database connection and error handling -8f9264a feat(backend): connect GraphQL resolvers to MySQL -c9c9261 Set up initial GraphQL server and schema -0585edb feat(backend): created script for importing the dataset from showdown -1be9dc6 Updates server.ts to handle errors -2a1f044 Updates readme with backend setup and frontend integration -467e26a feat(frontend): connect Apollo Client to GraphQL API -5f57832 feat(backend): connect GraphQL resolvers to MySQL -43784d9 Set up initial GraphQL server and schema -450f97a chore: update package-lock.json -840bf8f docs: fix and clarify database setup documentation -1cc8e0f chore: override npm package versions from showdown -8153ef4 docs: document the database setup process -baebf43 feat(backend): created script for importing the dataset from showdown -bfe29de Merge pull request #46 from IT2810-H26/21-standardize-issues -f562c68 refactor: renamed PokemonDraftPlanner to frontend -52a9c69 chore: create nix flake -3aa6dc5 moves issue template out of folder for easy access -9466c05 fix: moved issue template into folder -949e13d docs: document our git workflow -736b1f3 fix: moved issue template into folder -a132a3a Merge pull request #39 from IT2810-H26/21-standardize-issues -6aa62dd Create issue_template -71b8a76 Initiialised the Vite project with React and Typescript with React compiler. -36eae3a docs: add gitub pull request template (#20) -11b203c Merge pull request #14 from IT2810-H26/1-figma-prototype -24efb45 Add Figma prototype and architecture to Readme -48c25fe Update README.md -d20f319 Update README.md -aa85c97 Update README.md -e5106ef Update README.md -e7d0a51 Merge pull request #13 from IT2810-H26/docs/architecture -244e797 style: add a line between the diagram and the previous paragraph -94e90b1 chore: document the system architecture -1d83e08 Add CODEOWNERS -bd44a66 Add README