finish merge

This commit is contained in:
Will Hanlen 2024-05-28 21:58:14 +02:00
parent 12d47a5eaf
commit d25e091d94
23 changed files with 119 additions and 204 deletions

View File

@ -1044,7 +1044,7 @@
~| con-pith/pith ~| con-pith/pith
|% |%
++ grab !<(stud:neo (slot 4 vax)) ++ grab !<(stud:neo (slot 4 vax))
++ thru !<(stud:neo (slot 10 vax)) ++ thru ~| pith !<(stud:neo (slot 10 vax))
++ grow !<(stud:neo (slot 11 vax)) ++ grow !<(stud:neo (slot 11 vax))
++ run (slot 3 vax) ++ run (slot 3 vax)
++ sink ++ sink

View File

@ -38,7 +38,7 @@
;* ;*
%+ turn (gulf 1 10) %+ turn (gulf 1 10)
|= y=@ |= y=@
=/ val=(unit pail:neo) (~(get by kids.bowl) ~[ud/x ud/y]) =/ val=(unit pail:neo) ~::(~(get by kids.bowl) ~[ud/x ud/y])
=/ vaf (fall val [%accel-cell !>(*accel-cell)]) =/ vaf (fall val [%accel-cell !>(*accel-cell)])
;td.border ;td.border
;+ ;+

View File

@ -1,5 +1,5 @@
/@ circle /@ circle
:- [%circle %htmx] :- [%circle %$ %htmx]
|= circle |= circle
|= =bowl:neo |= =bowl:neo
|^ |^
@ -19,7 +19,7 @@
;* ;*
%+ turn %+ turn
%+ murn %+ murn
~(tap in ~(key by kids.bowl)) ~ ::~(tap in ~(key by kids.bowl))
|= =pith ((soft ship) ->:pith) |= =pith ((soft ship) ->:pith)
|= =ship |= =ship
^- manx ^- manx

View File

@ -11,10 +11,10 @@
=style "max-width: 650px;" =style "max-width: 650px;"
;+ form-put-entry ;+ form-put-entry
;* ;*
%+ turn %+ turn ~
%+ sort ~(tap of:neo kids.bowl) :: %+ sort ~(tap of:neo kids.bowl)
|= [a=[=pith *] b=[=pith *]] :: |= [a=[=pith *] b=[=pith *]]
(gth ->.pith.a ->.pith.b) :: (gth ->.pith.a ->.pith.b)
link-entry link-entry
== ==
== ==

View File

@ -65,13 +65,13 @@
:: ::
++ shrubs ++ shrubs
;div.fc.g2 ;div.fc.g2
;+ ?. =(0 ~(wyt by kids.bowl)) ;/("") ::;+ ?. =(0 (lent (~(tap of kids.bowl) /))) ;/("")
;div.p5.f3.fc.jc.ac: none yet ::;div.p5.f3.fc.jc.ac: none yet
;* ;*
%+ turn folder %+ turn folder
|= name=@tas |= name=@tas
=/ pith ~[name] =/ pith ~[name]
=/ =pail:neo (~(got by kids.bowl) pith) =/ =pail:neo pail:(~(got of:neo kids.bowl) pith)
=/ =stud:neo p.pail =/ =stud:neo p.pail
=/ =path (pout (welp here.bowl pith)) =/ =path (pout (welp here.bowl pith))
=/ label =/ label

View File

@ -54,10 +54,10 @@
=hx-swap "none" =hx-swap "none"
=hx-indicator "#indicator-{id}" =hx-indicator "#indicator-{id}"
;* ;*
%+ turn %+ turn apps.home
%+ welp apps.home :: %+ welp apps.home
%~ tap in :: %~ tap in
(~(dif in ~(key by kids.bowl)) `(set pith)`(silt apps.home)) :: (~(dif in ~(key by kids.bowl)) `(set pith)`(silt apps.home))
|= =pith |= =pith
=/ =path (pout (welp here.bowl pith)) =/ =path (pout (welp here.bowl pith))
;div.relative.br2 ;div.relative.br2

View File

@ -116,10 +116,10 @@
%- sort %- sort
:_ |= [a=pent b=pent] :_ |= [a=pent b=pent]
(lth when.q.a when.q.b) (lth when.q.a when.q.b)
%+ murn ~(tap by kids.bowl) %+ murn ~(tap of:neo kids.bowl)
|= [=pith =pail:neo] |= [=pith =idea:neo]
^- (unit pent) ^- (unit pent)
=/ entry !<(planner-entry q.pail) =/ entry !<(planner-entry q.pail.idea)
?. ?& ?. ?&
(gte when.entry d) (gte when.entry d)
(lth when.entry (add d ~d1)) (lth when.entry (add d ~d1))
@ -137,10 +137,10 @@
%- sort %- sort
:_ |= [a=pent b=pent] :_ |= [a=pent b=pent]
(gth when.q.a when.q.b) (gth when.q.a when.q.b)
%+ murn ~(tap by kids.bowl) %+ murn ~(tap of:neo kids.bowl)
|= [=pith =pail:neo] |= [=pith =idea:neo]
^- (unit pent) ^- (unit pent)
=/ entry !<(planner-entry q.pail) =/ entry !<(planner-entry q.pail.idea)
?. ?& ?. ?&
(gte d when.entry) (gte d when.entry)
(lte d (add when.entry length.entry)) (lte d (add when.entry length.entry))

View File

@ -1,5 +1,5 @@
/@ task-diff /@ task-diff
:- [%task-diff %htmx] :- [%task-diff %$ %htmx]
|= t=task-diff |= t=task-diff
|= =bowl:neo |= =bowl:neo
;div.loading ;div.loading

View File

@ -1,6 +1,6 @@
/@ txt /@ txt
/- _/feather-icons /- feather-icons
:- [%txt %htmx] :- [%txt %$ %htmx]
|= =txt |= =txt
|= =bowl:neo |= =bowl:neo
;form.fc.p2.wf.hf.relative ;form.fc.p2.wf.hf.relative

View File

@ -5,7 +5,7 @@
|% |%
++ render-hoon ++ render-hoon
|= [code=@t a=vase b=vase] |= [code=@t a=vase b=vase]
^- pail:neo ^- (unit (each vase tang))
=/ code =/ code
%- crip %- crip
:: (trip 10) = tape of newline :: (trip 10) = tape of newline
@ -15,16 +15,10 @@
=/ mul =/ mul
%- mule %- mule
|. |.
%+ slap
%+ with-faces:ford:neo !>(..zuse)
:~ neo/!>(neo)
a/a
b/b
==
%+ slap %+ slap
%+ slop %+ slop
%+ slop %+ slop
!>(..zuse) !>(..zuse)
a(p [%face %a p.a]) a(p [%face %a p.a])
b(p [%face %b p.b]) b(p [%face %b p.b])
(ream code) (ream code)
@ -53,59 +47,64 @@
++ get-deps-vases ++ get-deps-vases
|= =bowl:neo |= =bowl:neo
^- [vase vase] ^- [vase vase]
=/ a=(unit (pair pith cane:neo)) =/ a=(unit (pair pith lore:neo))
(~(get by deps.bowl) %a) (~(get by deps.bowl) %a)
=/ b=(unit (pair pith cane:neo)) =/ b=(unit (pair pith lore:neo))
(~(get by deps.bowl) %b) (~(get by deps.bowl) %b)
=/ va =/ va
?~ a !>(~) ?~ a !>(~)
(maybe-promote-vase pail.q.u.a) =/ =idea:neo (~(got of:neo q.u.a) /)
(maybe-promote-vase pail.idea)
=/ vb =/ vb
?~ b !>(~) ?~ b !>(~)
(maybe-promote-vase pail.q.u.b) =/ =idea:neo (~(got of:neo q.u.b) /)
(maybe-promote-vase pail.idea)
[va vb] [va vb]
:: ::
++ update ++ update
|= [cell=accel-cell =bowl:neo] |= [cell=accel-cell =bowl:neo]
^- (quip card:neo vase) ^- (quip card:neo pail:neo)
=/ vavb=[vase vase] (get-deps-vases bowl) =/ vavb=[vase vase] (get-deps-vases bowl)
=. result.cell =. result.cell
(render-hoon code.cell vavb) (render-hoon code.cell vavb)
:_ !>(cell) :_ accel-cell/!>(cell)
?~ target.cell ~ ?~ target.cell ~
?~ result.cell ~ ?~ result.cell ~
?- -.u.result.cell ?- -.u.result.cell
%.n ~ %.n ~
%.y [pith.u.target.cell %poke [stud.u.target.cell p.u.result.cell]]~ %.y [pith.u.target.cell %poke [stud.u.target.cell p.u.result.cell]]~
== ==
-- --
|% |%
++ state %accel-cell ++ state pro/%accel-cell
++ poke (sy %rely ~) ++ poke (sy %rely ~)
++ kids *kids:neo ++ kids *kids:neo
++ deps ++ deps
%- ~(gas by *deps:neo) %- ~(gas by *deps:neo)
:~ [%a | [%pail %sig] ~] :~ [%a | [pro/%pail (sy %sig ~)] ~]
[%b | [%pail %sig] ~] [%b | [pro/%pail (sy %sig ~)] ~]
== ==
:: ::
++ form ++ form
^- form:neo ^- form:neo
|_ [=bowl:neo =ever:neo state-vase=vase *] ::|_ [=bowl:neo =ever:neo state-vase=vase *]
|_ [=bowl:neo =aeon:neo =pail:neo]
++ poke ++ poke
|= [=stud:neo vax=vase] |= [=stud:neo vax=vase]
^- (quip card:neo vase) ^- (quip card:neo pail:neo)
?. =(stud %rely) ?. =(stud %rely)
[~ state-vase] [~ pail]
=+ !<([=term =stem:neo] vax) =+ !<([=term =stem:neo] vax)
?> ?=(%x -.q.stem) ?> ?=(%x -.q.stem)
=/ cell !<(accel-cell state-vase) =/ cell !<(accel-cell q.pail)
(update cell bowl) (update cell bowl)
:: ::
++ init ++ init
|= old=(unit vase) |= old=(unit pail:neo)
^- (quip card:neo vase) ^- (quip card:neo pail:neo)
=/ cell !<(accel-cell (need old)) ?~ old
(update cell bowl) [~ accel-cell/!>(*accel-cell)]
=/ cell !<(accel-cell q.u.old)
(update cell bowl)
-- --
-- --

View File

@ -11,54 +11,58 @@
|= col=@ud |= col=@ud
%+ turn (gulf rowstart rowend) %+ turn (gulf rowstart rowend)
|= row=@ud |= row=@ud
[(welp here.bowl #/[ud/col]/[ud/row]) %make %accel-cell `!>(['~' ~ ~ ~ ~]) ~] [(welp here.bowl #/[ud/col]/[ud/row]) %make %accel-cell `accel-cell/!>(['~' ~ ~ ~ ~]) ~]
-- --
:: ::
^- firm:neo ^- kook:neo
|% |%
++ state %accel ++ state pro/%accel
++ poke (sy %accel-diff ~) ++ poke (sy %accel-diff ~)
++ kids ++ kids
%- ~(gas by *kids:neo) :- ~
:- %y
%- ~(gas by *lads:neo)
:~ :- [|/%ud |/%ud |] :~ :- [|/%ud |/%ud |]
[%accel-cell %sig] [pro/%accel-cell (sy %sig ~)]
== ==
++ deps *deps:neo ++ deps *deps:neo
++ form ++ form
^- form:neo ^- form:neo
|_ [=bowl:neo =ever:neo sta=vase *] ::|_ [=bowl:neo =ever:neo sta=vase *]
|_ [=bowl:neo =aeon:neo =pail:neo]
++ init ++ init
|= old=(unit vase) |= old=(unit pail:neo)
^- (quip card:neo pail:neo)
=/ width 10 =/ width 10
=/ height 10 =/ height 10
:_ !>([width height]) :_ accel/!>([width height])
(make-cells bowl 1 width 1 height) (make-cells bowl 1 width 1 height)
:: ::
++ poke ++ poke
|= [=stud:neo vax=vase] |= [=stud:neo vax=vase]
^- (quip card:neo vase) ^- (quip card:neo pail:neo)
?> =(%accel-diff stud) ?> =(%accel-diff stud)
=/ state !<(accel sta) =/ state !<(accel q.pail)
=/ poke !<(accel-diff vax) =/ poke !<(accel-diff vax)
?> =(our ship.src):bowl ?> =(our ship.src):bowl
?- -.poke ?- -.poke
%inc-width %inc-width
=/ new (add 1 width.state) =/ new (add 1 width.state)
:_ !>([new height.state]) :_ accel/!>([new height.state])
(make-cells bowl new new 1 height.state) (make-cells bowl new new 1 height.state)
:: ::
%inc-height %inc-height
=/ new (add 1 height.state) =/ new (add 1 height.state)
:_ !>([width.state new]) :_ accel/!>([width.state new])
(make-cells bowl 1 width.state new new) (make-cells bowl 1 width.state new new)
:: ::
%new %new
:_ sta :_ accel/q.pail
=; conf =; conf
:~ :- (welp here.bowl ~[[ud/row.poke] [ud/column.poke]]) :~ :- (welp here.bowl ~[[ud/row.poke] [ud/column.poke]])
:* %make :* %make
%accel-cell %accel-cell
`!>([text.poke ~ refa.poke refb.poke target.poke]) `accel-cell/!>([text.poke ~ refa.poke refb.poke target.poke])
conf conf
== ==
== ==

View File

@ -38,7 +38,8 @@
++ init ++ init
|= old=(unit pail:neo) |= old=(unit pail:neo)
^- (quip card:neo pail:neo) ^- (quip card:neo pail:neo)
?^ old `u.old :- ~
?^ old u.old
diary/!>(*diary) diary/!>(*diary)
-- --
-- --

View File

@ -1,39 +1,38 @@
/@ folder /@ folder
/@ folder-diff /@ folder-diff
^- firm:neo ^- kook:neo
|% |%
++ state %folder ++ state pro/%folder
++ poke (sy %folder %folder-diff ~) ++ poke (sy %folder %folder-diff ~)
++ kids *kids:neo ++ kids *kids:neo
++ deps *deps:neo ++ deps *deps:neo
++ form ++ form
^- form:neo ^- form:neo
|_ [=bowl:neo =ever:neo sta=vase *] |_ [=bowl:neo =aeon:neo =pail:neo]
++ init ++ init
|= new=(unit vase) |= new=(unit pail:neo)
^- (quip card:neo vase) ^- (quip card:neo pail:neo)
:- ~ :- ~
?~ new ?^ new u.new
!>(*folder) folder/!>(*folder)
u.new
:: ::
++ poke ++ poke
|= [=stud:neo vax=vase] |= [=stud:neo vax=vase]
^- (quip card:neo vase) ^- (quip card:neo pail:neo)
?+ stud !! ?+ stud !!
%folder-diff %folder-diff
=/ poke !<(folder-diff vax) =/ poke !<(folder-diff vax)
=/ this !<(folder sta) =/ this !<(folder q.pail)
?- -.poke ?- -.poke
%make %make
:_ !>([name.poke this]) :_ folder/!>([name.poke this])
:~ [(snoc here.bowl name.poke) %make stud.poke ~ ~] :~ [(snoc here.bowl name.poke) %make stud.poke ~ ~]
== ==
:: ::
%tomb %tomb
:- ~ :- ~
=/ i (need (find ~[name.poke] this)) =/ i (need (find ~[name.poke] this))
!>((oust [i 1] this)) folder/!>((oust [i 1] this))
== ==
== ==
-- --

View File

@ -23,6 +23,7 @@
=/ [eyre-id=@ta req=inbound-request:eyre] task =/ [eyre-id=@ta req=inbound-request:eyre] task
=/ lin (parse-request-line:serv url.request.req) =/ lin (parse-request-line:serv url.request.req)
=/ inner=pith:neo (pave:neo (slag 2 site.lin)) =/ inner=pith:neo (pave:neo (slag 2 site.lin))
?> ?=([[%p @] *] inner)
~& inner/inner ~& inner/inner
=/ args (~(gas by *(map @t @t)) args.lin) =/ args (~(gas by *(map @t @t)) args.lin)
=/ =crew:neo (~(gas by *crew:neo) src/inner ~) =/ =crew:neo (~(gas by *crew:neo) src/inner ~)

View File

@ -1,32 +1,32 @@
/@ home /@ home
^- firm:neo ^- kook:neo
|% |%
++ state %home ++ state pro/%home
++ poke (sy %home ~) ++ poke (sy %home ~)
++ kids *kids:neo ++ kids *kids:neo
++ deps *deps:neo ++ deps *deps:neo
++ form ++ form
^- form:neo ^- form:neo
|_ [=bowl:neo =ever:neo sta=vase *] |_ [=bowl:neo =aeon:neo =pail:neo]
++ init ++ init
|= old=(unit vase) |= old=(unit pail:neo)
^- (quip card:neo vase) ^- (quip card:neo pail:neo)
:_ !>(*home) :_ home/!>(*home)
:~ [#/[p/our.bowl]/home/diary %make %diary ~ ~] :~ [#/[p/our.bowl]/home/diary %make %diary ~ ~]
[#/[p/our.bowl]/home/tasks %make %task `!>(['' | ~]) ~] [#/[p/our.bowl]/home/tasks %make %task `task/!>(['' | ~]) ~]
[#/[p/our.bowl]/home/sail %make %sail `!>(['' 'prose p3' ~]) ~] [#/[p/our.bowl]/home/sail %make %sail `sail/!>(['' 'prose p3' ~]) ~]
[#/[p/our.bowl]/home/accel %make %accel ~ ~] [#/[p/our.bowl]/home/accel %make %accel ~ ~]
[#/[p/our.bowl]/home/iframes/wiki %make %iframe `!>('https://docs.urbit.org') ~] [#/[p/our.bowl]/home/iframes/wiki %make %iframe `iframe/!>('https://docs.urbit.org') ~]
[#/[p/our.bowl]/home/circle %make %circle ~ ~] [#/[p/our.bowl]/home/circle %make %circle ~ ~]
[#/[p/our.bowl]/home/files %make %folder ~ ~] [#/[p/our.bowl]/home/files %make %folder ~ ~]
[#/[p/our.bowl]/home/planner %make %planner ~ ~] [#/[p/our.bowl]/home/planner %make %planner ~ ~]
== ==
++ poke ++ poke
|= [=stud:neo vax=vase] |= =pail:neo
^- (quip card:neo vase) ^- (quip card:neo pail:neo)
?+ stud !! ?+ p.pail !!
%home %home
[~ vax] [~ pail]
== ==
-- --
-- --

View File

@ -1 +1 @@
~ ~

View File

@ -1,24 +1 @@
/@ planner-entry ~
^- firm:neo
|%
++ state %planner-entry
++ poke ~
++ kids *kids:neo
++ deps *deps:neo
++ form
^- form:neo
|_ [=bowl:neo =ever:neo sta=vase *]
++ init
|= new=(unit vase)
^- (quip card:neo vase)
:- ~
?~ new
!>(*planner-entry)
u.new
::
++ poke
|= [=stud:neo vax=vase]
^- (quip card:neo vase)
!!
--
--

View File

@ -1,62 +1,64 @@
/@ planner /@ planner
/@ planner-diff /@ planner-diff
/@ planner-entry /@ planner-entry
^- firm:neo ^- kook:neo
|% |%
++ state %planner ++ state pro/%planner
++ poke (sy %planner-diff ~) ++ poke (sy %planner-diff ~)
++ kids ++ kids
%- ~(gas by *kids:neo) :- ~
:- %y
%- ~(gas by *lads:neo)
:~ :- [|/%da |] :~ :- [|/%da |]
[%planner-entry %sig] [pro/%planner-entry (sy %sig ~)]
== ==
++ deps *deps:neo ++ deps *deps:neo
++ form ++ form
^- form:neo ^- form:neo
|_ [=bowl:neo =ever:neo sta=vase *] |_ [=bowl:neo =aeon:neo =pail:neo]
++ init ++ init
|= new=(unit vase) |= new=(unit pail:neo)
^- (quip card:neo vase) ^- (quip card:neo pail:neo)
:- ~ :- ~
?~ new ?~ new
!>([now.bowl (add now.bowl ~d30)]) planner/!>([now.bowl (add now.bowl ~d30)])
u.new u.new
:: ::
++ poke ++ poke
|= [=stud:neo vax=vase] |= [=stud:neo vax=vase]
^- (quip card:neo vase) ^- (quip card:neo pail:neo)
?+ stud !! ?+ stud !!
%planner-diff %planner-diff
=/ poke !<(planner-diff vax) =/ poke !<(planner-diff vax)
=/ this !<(planner sta) =/ this !<(planner q.pail)
?- -.poke ?- -.poke
%make %make
:_ !>(this) :_ planner/!>(this)
^- (list card:neo) ^- (list card:neo)
:~ :~
:- (snoc here.bowl [%da now.bowl]) :- (snoc here.bowl [%da now.bowl])
[%make %planner-entry `!>(entry.poke) ~] [%make %planner-entry `planner-entry/!>(entry.poke) ~]
== ==
:: ::
%edit %edit
:_ !>(this) :_ planner/!>(this)
^- (list card:neo) ^- (list card:neo)
:~ :~
:- (snoc here.bowl [%da id.poke]) :- (snoc here.bowl [%da id.poke])
[%make %planner-entry `!>(entry.poke) ~] [%make %planner-entry `planner-entry/!>(entry.poke) ~]
== ==
:: ::
%move %move
:- ~ :- ~
!> this(start start.poke, end end.poke) planner/!>(this(start start.poke, end end.poke))
:: ::
%tomb %tomb
:_ !>(this) :_ planner/!>(this)
^- (list card:neo) ^- (list card:neo)
:~ :~
:- (snoc here.bowl [%da id.poke]) :- (snoc here.bowl [%da id.poke])
=/ entry [*@da %event *@dr '' &] =/ entry [*@da %event *@dr '' &]
[%make %planner-entry `!>(entry) ~] [%make %planner-entry `planner-entry/!>(entry) ~]
== ==
== ==
== ==

View File

@ -66,8 +66,8 @@
*/ */
''' '''
== ==
:: ;style: {(trip feather-css)} :: ;style: {(trip feather-css)}
:: ;style: {(trip reset-css)} :: ;style: {(trip reset-css)}
;script ;script
;+ ;/ ;+ ;/
""" """
@ -76,9 +76,6 @@
jQuery.fn.emit=function (name)\{(this[0]).dispatchEvent(new Event(name, \{ bubbles: true, cancelable: true, composed: true })); return this;}; jQuery.fn.emit=function (name)\{(this[0]).dispatchEvent(new Event(name, \{ bubbles: true, cancelable: true, composed: true })); return this;};
""" """
== ==
:: ;script: {(trip date-now)}
:: ;script: {(trip atom-input)}
:: ;script: {(trip multiline-input)}
:: ;script: {(trip a-i-r)} :: ;script: {(trip a-i-r)}
:: ;+ favicon :: ;+ favicon
:: ;+ manifest :: ;+ manifest

View File

@ -1,4 +1,4 @@
/+ manx-utils /- manx-utils
|% |%
++ mx ++ mx
|_ a=manx |_ a=manx

View File

@ -1,22 +0,0 @@
/@ iframe
|%
++ state %iframe
++ poke (sy %iframe ~)
++ kids *kids:neo
++ deps *deps:neo
++ form
^- form:neo
|_ [=bowl:neo =ever:neo state-vase=vase *]
++ poke
|= [=stud:neo vax=vase]
^- (quip card:neo vase)
?> =(%iframe stud)
=/ new (iframe !<(iframe vax))
`!>(new)
++ init
|= vas=(unit vase)
:- ~
?~ vas !>(*iframe)
u.vas
--
--

View File

@ -1,21 +0,0 @@
/@ sail
|%
++ state %sail
++ poke (sy %sail ~)
++ kids *kids:neo
++ deps *deps:neo
++ form
^- form:neo
|_ [=bowl:neo =ever:neo state-vase=vase *]
++ poke
|= [=stud:neo vax=vase]
^- (quip card:neo vase)
?> =(stud %sail)
`vax
++ init
|= vas=(unit vase)
:- ~
?~ vas !>(*sail)
u.vas
--
--

View File

@ -1,22 +0,0 @@
/@ txt
|%
++ state %txt
++ poke (sy %txt ~)
++ kids *kids:neo
++ deps *deps:neo
++ form
^- form:neo
|_ [=bowl:neo =ever:neo state-vase=vase *]
++ poke
|= [=stud:neo vax=vase]
^- (quip card:neo vase)
?> =(%txt stud)
=/ new (txt !<(txt vax))
`!>(new)
++ init
|= vas=(unit vase)
:- ~
?~ vas !>(*txt)
u.vas
--
--