Skip to content

Commit

Permalink
bump version, and fix child issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leifriksheim committed Dec 13, 2023
1 parent 60dad0e commit 86af20e
Show file tree
Hide file tree
Showing 29 changed files with 28 additions and 12,070 deletions.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flux",
"version": "0.7.4",
"version": "0.7.5",
"description": "A social web3 tool kit for communities",
"author": "josh@junto.foundation",
"repository": {
Expand Down
11 changes: 1 addition & 10 deletions app/src/views/community/community-sidebar/ChannelList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,9 @@
class="channel__notification"
v-if="channel.hasNewMessages"
></div>
<!--
<j-icon
@click.stop="handleToggleClick(channel.id)"
slot="start"
style="--j-icon-size: 13px"
v-if="channel.views.length > 1"
:name="channel.expanded ? 'chevron-down' : 'chevron-right'"
/>
-->
<j-icon
slot="start"
size="xs"
v-else
:name="getIcon(channel.views[0])"
></j-icon>
</j-menu-item>
Expand Down Expand Up @@ -198,6 +188,7 @@ export default defineComponent({
return channelViewOptions.filter((o) => views.includes(o.type));
},
getIcon(view: ChannelView) {
console.log({channelViewOptions, view, channels: this.channels})
return channelViewOptions.find((o) => o.pkg === view)?.icon || "hash";
},
async deleteChannel(channelId: string) {
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-docs",
"version": "0.7.4",
"version": "0.7.5",
"description": "",
"type": "module",
"homepage": "https://docs.fluxsocial.io",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flux-monorepo",
"version": "0.7.4",
"version": "0.7.5",
"workspaces": {
"packages": [
"packages/**/*",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-api",
"version": "0.7.4",
"version": "0.7.5",
"description": "",
"main": "./src/index.ts",
"module": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/channel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class Channel {
name: string;

@subjectCollection({
through: "rdf://has_child",
through: "ad4m://has_child",
where: {
isInstance: App,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/community/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class Community {
thumbnail: string;

@subjectCollection({
through: "rdf://has_child",
through: "ad4m://has_child",
where: {
isInstance: Channel,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/factory/SubjectRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class SubjectRepository<SubjectClass extends { [x: string]: any }> {
await this.perspective.add(
new Link({
source: source || this.source,
predicate: "rdf://has_child",
predicate: "ad4m://has_child",
target: base,
})
);
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/list/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class List {
order: string;

@subjectCollection({
through: "rdf://has_child",
through: "ad4m://has_child",
where: {
condition: `instance(_, Target)`,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/message/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Message {
isPopular: boolean = false;

@subjectCollection({
through: "rdf://has_child",
through: "ad4m://has_child",
where: {
condition: `subject_class("Message", Class), instance(Class, Target)`,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/post/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class Post {
url: string;

@subjectCollection({
through: "rdf://has_child",
through: "ad4m://has_child",
where: {
condition: `subject_class("Message", Class), instance(Class, Target)`,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/comment-section/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-comment-section",
"version": "0.7.4",
"version": "0.7.5",
"type": "module",
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-constants",
"version": "0.7.4",
"version": "0.7.5",
"description": "",
"main": "./src/index.ts",
"module": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/create-flux-plugin",
"version": "0.7.4",
"version": "0.7.5",
"main": "index.js",
"scripts": {
"start": "node index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/flux-container/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-container",
"version": "0.7.4",
"version": "0.7.5",
"type": "module",
"module": "dist/flux-container.js",
"main": "dist/flux-container.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/flux-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-editor",
"version": "0.7.4",
"version": "0.7.5",
"type": "module",
"module": "dist/main.js",
"main": "dist/main.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-react-web",
"version": "0.7.4",
"version": "0.7.5",
"description": "",
"main": "./src/index.ts",
"module": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-types",
"version": "0.7.4",
"version": "0.7.5",
"description": "",
"main": "./src/index.ts",
"module": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-ui",
"version": "0.7.4",
"version": "0.7.5",
"description": "",
"homepage": "https://docs.fluxsocial.io",
"main": "dist/main.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-utils",
"version": "0.7.4",
"version": "0.7.5",
"description": "",
"main": "./src/index.ts",
"module": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-vue",
"version": "0.7.4",
"version": "0.7.5",
"description": "",
"main": "./src/index.ts",
"module": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/webrtc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-webrtc",
"version": "0.7.4",
"version": "0.7.5",
"description": "",
"main": "./src/index.ts",
"module": "./src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion views/chat-view/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-chat-view",
"version": "0.7.4",
"version": "0.7.5",
"fluxapp": {
"name": "Chat",
"description": "Make a new conversation",
Expand Down
2 changes: 1 addition & 1 deletion views/graph-view/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-graph-view",
"version": "0.7.4",
"version": "0.7.5",
"type": "module",
"fluxapp": {
"name": "Graph",
Expand Down
2 changes: 1 addition & 1 deletion views/kanban-view/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-kanban-view",
"version": "0.7.4",
"version": "0.7.5",
"fluxapp": {
"name": "Kanban",
"description": "Move items on a kanban board",
Expand Down
2 changes: 1 addition & 1 deletion views/post-view/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-post-view",
"version": "0.7.4",
"version": "0.7.5",
"description": "",
"fluxapp": {
"name": "Posts",
Expand Down
2 changes: 1 addition & 1 deletion views/table-view/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-table-view",
"version": "0.7.4",
"version": "0.7.5",
"fluxapp": {
"name": "Table",
"description": "View and edit your channel data",
Expand Down
2 changes: 1 addition & 1 deletion views/webrtc-view/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coasys/flux-webrtc-view",
"version": "0.7.4",
"version": "0.7.5",
"type": "module",
"fluxapp": {
"name": "Audio",
Expand Down
Loading

0 comments on commit 86af20e

Please sign in to comment.