-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add altid search functionality (#84)
* Add altid search functionality Fixes #80 Add search functionality for alternative IDs in the search form and quick search. * **Search Form (`src/views/Search.vue`):** - Add a dropdown to toggle between `sdss_id` and `altid` input fields. - Add a new input field for `altid` with validation rules. - Update the form submission logic to handle `altid`. * Adds a note to quick id input on Home page --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/sdss/zora/issues/80?shareId=XXXX-XXXX-XXXX-XXXX). * fixing the altid
- Loading branch information
Showing
3 changed files
with
76 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// vite.config.ts | ||
import vue from "file:///workspaces/zora/node_modules/@vitejs/plugin-vue/dist/index.mjs"; | ||
import vuetify, { transformAssetUrls } from "file:///workspaces/zora/node_modules/vite-plugin-vuetify/dist/index.mjs"; | ||
import { defineConfig } from "file:///workspaces/zora/node_modules/vite/dist/node/index.js"; | ||
import { fileURLToPath, URL } from "node:url"; | ||
var __vite_injected_original_import_meta_url = "file:///workspaces/zora/vite.config.ts"; | ||
var vite_config_default = defineConfig({ | ||
plugins: [ | ||
vue({ | ||
template: { transformAssetUrls } | ||
}), | ||
// https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin | ||
vuetify({ | ||
autoImport: true, | ||
styles: { | ||
configFile: "src/styles/settings.scss" | ||
} | ||
}) | ||
], | ||
define: { "process.env": {} }, | ||
resolve: { | ||
alias: { | ||
"@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url)) | ||
}, | ||
extensions: [ | ||
".js", | ||
".json", | ||
".jsx", | ||
".mjs", | ||
".ts", | ||
".tsx", | ||
".vue" | ||
] | ||
}, | ||
base: process.env.BASE_URL || "/", | ||
server: { | ||
port: 3e3, | ||
host: "0.0.0.0" | ||
} | ||
}); | ||
export { | ||
vite_config_default as default | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvd29ya3NwYWNlcy96b3JhXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCIvd29ya3NwYWNlcy96b3JhL3ZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy93b3Jrc3BhY2VzL3pvcmEvdml0ZS5jb25maWcudHNcIjsvLyBQbHVnaW5zXG5pbXBvcnQgdnVlIGZyb20gJ0B2aXRlanMvcGx1Z2luLXZ1ZSdcbmltcG9ydCB2dWV0aWZ5LCB7IHRyYW5zZm9ybUFzc2V0VXJscyB9IGZyb20gJ3ZpdGUtcGx1Z2luLXZ1ZXRpZnknXG5cbi8vIFV0aWxpdGllc1xuaW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSAndml0ZSdcbmltcG9ydCB7IGZpbGVVUkxUb1BhdGgsIFVSTCB9IGZyb20gJ25vZGU6dXJsJ1xuXG4vLyBodHRwczovL3ZpdGVqcy5kZXYvY29uZmlnL1xuZXhwb3J0IGRlZmF1bHQgZGVmaW5lQ29uZmlnKHtcbiAgcGx1Z2luczogW1xuICAgIHZ1ZSh7XG4gICAgICB0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