Skip to content

Commit

Permalink
Merge pull request #94 from Vontigo/bug/not-able-to-view-tag-detail
Browse files Browse the repository at this point in the history
Bug/not able to view tag detail
  • Loading branch information
Smilefounder committed Aug 9, 2023
2 parents 858f604 + e979f75 commit 522de9a
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 33 deletions.
2 changes: 2 additions & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
"@auth/core": "^0.7.1",
"@auth/sveltekit": "^0.3.3",
"@floating-ui/dom": "^1.4.4",
"@revolist/revogrid": "4.6.0-next.4",
"@revolist/svelte-datagrid": "^3.2.16",
"@sveltejs/adapter-node": "^1.3.1",
"@sveltejs/adapter-vercel": "^2.4.3",
"@tailwindcss/container-queries": "^0.1.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { globalConfig } from '$lib/core/shared/config/env/config';
import knex, { Knex } from 'knex';

const setup = (async ({ event, resolve }) => {
console.log(globalConfig.database[DATABASE_TYPE]);
// console.log(globalConfig.database[DATABASE_TYPE]);

if (DATABASE_TYPE === ENUM_DATABASE_TYPE.sqlite) {
// Do something
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<script>
import { RevoGrid } from '@revolist/svelte-datagrid';
import { defineCustomElements } from '@revolist/revogrid/loader';
import { onMount } from 'svelte';
import { AppBar } from '@skeletonlabs/skeleton';
import { page } from '$app/stores';
import IconPlusSmall from '$lib/icons/IconPlusSmall.svelte';
const columns = [
{
prop: 'name',
name: 'First'
},
{
prop: 'details',
name: 'Second'
// cellTemplate: (createElement, props) => {
// return createElement(
// 'div',
// {
// style: {
// backgroundColor: 'gray'
// },
// class: {
// 'inner-cell': true
// }
// },
// props.model[props.prop] || ''
// );
// }
},
{
prop: 'id',
name: 'Id'
}
];
const rows = [
{
name: 'New item 1',
details: 'Item description'
},
{
name: 'New item 2',
details: 'Item description',
id: 0
}
];
onMount(async () => {
// define webcomponent element in DOM
await defineCustomElements();
});
</script>

<RevoGrid source={rows} resize="true" {columns} theme="compact" />
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Services
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { DATABASE_TYPE } from '$env/static/private';
import { knexInstance } from '$lib/core/core/server/data/db/connection';
import { typeMapping, valueMapping } from '$lib/core/core/server/helpers/database/dbHelper';
import {
Expand Down
75 changes: 43 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit 522de9a

@vercel
Copy link

@vercel vercel bot commented on 522de9a Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs-vontigo – ./apps/docs

docs.vontigo.org
docs-vontigo-git-main-dxcore.vercel.app
docs-vontigo-dxcore.vercel.app
docs-vontigo.vercel.app

Please sign in to comment.