mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Make CatalogEntity labels clickable (#3075)
- Transition workspace's to be labels - Fix migrations to support multiple migrations for the same version Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
d812e28639
commit
7f51e3addd
30 files changed
+268
-120
No files matched your search
@@ -20,11 +20,11 @@
|
||||
*/
|
||||
|
||||
// Add / reset "lastSeenAppVersion"
|
||||
import { migration } from "../migration-wrapper";
|
||||
import type { MigrationDeclaration } from "../helpers";
|
||||
|
||||
export default migration({
|
||||
export default {
|
||||
version: "2.1.0-beta.4",
|
||||
run(store) {
|
||||
store.set("lastSeenAppVersion", "0.0.0");
|
||||
}
|
||||
});
|
||||
} as MigrationDeclaration;
|
||||
@@ -20,9 +20,9 @@
|
||||
*/
|
||||
|
||||
// Switch representation of hiddenTableColumns in store
|
||||
import { migration } from "../migration-wrapper";
|
||||
import type { MigrationDeclaration } from "../helpers";
|
||||
|
||||
export default migration({
|
||||
export default {
|
||||
version: "5.0.0-alpha.3",
|
||||
run(store) {
|
||||
const preferences = store.get("preferences");
|
||||
@@ -36,4 +36,4 @@ export default migration({
|
||||
|
||||
store.set("preferences", preferences);
|
||||
}
|
||||
});
|
||||
} as MigrationDeclaration;
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
// User store migrations
|
||||
|
||||
import { joinMigrations } from "../helpers";
|
||||
|
||||
import version210Beta4 from "./2.1.0-beta.4";
|
||||
import version500Alpha3 from "./5.0.0-alpha.3";
|
||||
import { fileNameMigration } from "./file-name-migration";
|
||||
@@ -29,7 +31,7 @@ export {
|
||||
fileNameMigration
|
||||
};
|
||||
|
||||
export default {
|
||||
...version210Beta4,
|
||||
...version500Alpha3,
|
||||
};
|
||||
export default joinMigrations(
|
||||
version210Beta4,
|
||||
version500Alpha3,
|
||||
);
|
||||
Reference in new issue
Block a user