Skip to content

Commit

Permalink
problem: structure of problem components isn't clean
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed Oct 24, 2023
1 parent ce6921e commit 3950abc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Problem: spaceman is not maintainable and it's getting annoying
npm install
npm run dev
```

## Contributing
Please avoid ambiguity over Types: use TypeScript and avoid plain untyped JS.

## Terminology
**note**: a nostr event.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script>
import {AccordionItem, InlineLoading} from "carbon-components-svelte";
import AddProblem from "../modals/AddProblem.svelte";
import AddProblem from "../../modals/AddProblem.svelte";
import {getDepthColor} from "$lib/helpers/ProblemDepthColor";
export let problem
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/routes/problems/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import AddProblem from "../../components/modals/AddProblem.svelte";
import {consensusTipState} from "$lib/stores/nostrocket_state/master_state";
import {derived, writable} from "svelte/store";
import ProblemList from "../../components/problems/ProblemList.svelte";
import ProblemList from "../../components/elements/problems/ProblemList.svelte";
//problem: cannot filter the problem tracker by content etc
//problem: problems without titles are still being rendered becasue the ProblemComponent is pulling them from consensusTipState and our filtering is currently done in this if statement.
//solutoin to both of these problems: create a new derived store here and pass it to the ProblemComponent so that we can filter based on user input. See https://github.com/pablof7z/vendata.io/ for examples
Expand Down

0 comments on commit 3950abc

Please sign in to comment.