Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1c0c4df
refactor(ui): prepare migration
Oct 4, 2025
7ad35ba
refactor(ui): Add types to various functions
Oct 4, 2025
e5ed889
refactor(ui): Add types 2
Oct 4, 2025
b9ad112
refactor(ui): Add types 3
Oct 4, 2025
ed69f83
refactor(ui): Add types 4
Oct 4, 2025
eaa0205
Change Vite config to use env variable if available
QazCetelic Oct 5, 2025
92d52b8
refactor(ui): Add types to tests 1
QazCetelic Oct 5, 2025
ad1391e
refactor(ui): Add types to tests 2
QazCetelic Oct 5, 2025
bccdad1
refactor(ui): Add types to tests 3
QazCetelic Oct 5, 2025
b7e676c
refactor(ui): Add types to tests 4
QazCetelic Oct 5, 2025
6c018c9
refactor(ui): Add types to tests 5
QazCetelic Oct 6, 2025
8e5356a
refactor(ui): Add types to tests 6
QazCetelic Oct 6, 2025
180acd5
refactor(ui): Add types to tests 7
QazCetelic Oct 6, 2025
b884e3c
refactor(ui): Add types to tests 8
QazCetelic Oct 6, 2025
5d648dd
refactor(ui): Add types to tests 9
QazCetelic Oct 7, 2025
ed11c2e
refactor(ui): Add types to tests 10
QazCetelic Oct 7, 2025
616281b
refactor(ui): Add types to tests 11
QazCetelic Oct 7, 2025
6ab098d
refactor(ui): Add types to StringList tests
QazCetelic Oct 7, 2025
61bf1ad
refactor(ui): Add types to StringList tests II
QazCetelic Oct 7, 2025
8b37aa8
refactor(ui): Add types to TimeOfDayList tests
QazCetelic Oct 7, 2025
2894478
refactor(ui): Add types to uiutil-browser tests
QazCetelic Oct 8, 2025
3b4ddbb
refactor(ui): Add types to uiutil-components tests
QazCetelic Oct 8, 2025
cd7a172
refactor(ui): Add types to react-router-mock tests
QazCetelic Oct 8, 2025
22b3030
refactor(ui): Add TypeScript to config files
QazCetelic Oct 8, 2025
ceff5f2
refactor(ui): Migrate UIPreferencesContext tests to TypeScript
QazCetelic Oct 8, 2025
5644c2c
Remove comment "This is only mentioned here"
QazCetelic Oct 18, 2025
86be375
Get rid of linting errors by changing lint rules and removing imports
QazCetelic Oct 18, 2025
ae3d092
Remove omitted parameters
QazCetelic Oct 19, 2025
b202030
Formatted code with prettier
QazCetelic Oct 19, 2025
e5f0f0f
Merge branch 'main' into feature/migrate-to-ts
QazCetelic Oct 24, 2025
4bf85fb
Merge branch 'main' into feature/migrate-to-ts
QazCetelic Nov 12, 2025
6fd22f8
Merge branch 'main' of https://github.com/kopia/htmlui into feature/m…
QazCetelic Dec 6, 2025
9ca90c3
Merge branch 'main' of https://github.com/kopia/htmlui into feature/m…
QazCetelic Mar 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion babel.config.js → babel.config.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//babel.config.js
//babel.config.ts
module.exports = { presets: ["@babel/preset-env"] };
5 changes: 4 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ export default defineConfig([
},
{
rules: {
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
"prefer-const": "off",
"no-var": "warn",
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
"@typescript-eslint/no-explicit-any": "off",
},
},
pluginReact.configs.flat.recommended,
Expand Down
7 changes: 7 additions & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Extend the Window interface to include the kopiaUI property
declare interface Window {
kopiaUI?: {
selectDirectory?: (callback: (path: string) => void) => void;
browseDirectory?;
};
}
Loading