-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull request #105: Feature/LLM-491 FewerCodeBlockButtons
Merge in PAC/chatbook from feature/LLM-491_FewerCodeBlockButtons to main * commit 'a8ab2c424fb178ae2a5a9849470763281ab827ff': Added `GetFocusedNotebook` Small fix with icon generality of copy-evaluate button Fixed my merge mistake Corrections to design elements Remove NA insert button, update insert-evaluate tooltip Add updated workspace code block icons Add string resource template for workspace insert-evaluate tooltip
- Loading branch information
Showing
18 changed files
with
570 additions
and
235 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
Developer/Resources/FrontEndResources/WorkspaceChat/CodeBlocks/WorkspaceCodeBlockCopy.wl
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,50 @@ | ||
(* Created with the Wolfram Language : www.wolfram.com *) | ||
RawBoxes @ ToBoxes @ | ||
Graphics[{Thickness[0.125], | ||
Style[{FilledCurve[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}, | ||
{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}, {{0, 2, 0}, {0, 1, 0}, | ||
{0, 1, 0}, {0, 1, 0}}, {{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}, | ||
{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}}, {{0, 2, 0}, {1, 3, 3}, | ||
{0, 1, 0}, {1, 3, 3}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, | ||
{0, 1, 0}, {1, 3, 3}, {0, 1, 0}, {1, 3, 3}, {0, 1, 0}, {1, 3, 3}, | ||
{0, 1, 0}, {1, 3, 3}, {0, 1, 0}, {1, 3, 3}, {0, 1, 0}, {1, 3, 3}}}, | ||
{{{6.822000026702881, 6.291999816894531}, {1.1779999732971191, | ||
6.291999816894531}, {1.1779999732971191, 7.008999824523926}, | ||
{6.822000026702881, 7.008999824523926}, {6.822000026702881, | ||
6.291999816894531}}, {{6.822000026702881, 4.8580002784729}, | ||
{1.1779999732971191, 4.8580002784729}, {1.1779999732971191, | ||
5.575000286102295}, {6.822000026702881, 5.575000286102295}, | ||
{6.822000026702881, 4.8580002784729}}, | ||
{{6.822000026702881, 3.4250001907348633}, {1.1779999732971191, | ||
3.4250001907348633}, {1.1779999732971191, 4.142000198364258}, | ||
{6.822000026702881, 4.142000198364258}, {6.822000026702881, | ||
3.4250001907348633}}, {{6.822000026702881, 1.9910001754760742}, | ||
{1.1779999732971191, 1.9910001754760742}, {1.1779999732971191, | ||
2.7080001831054688}, {6.822000026702881, 2.7080001831054688}, | ||
{6.822000026702881, 1.9910001754760742}}, | ||
{{2.800999879837036, 9.597000122070312}, {5.199999809265137, | ||
9.597000122070312}, {5.599999904632568, 8.79699993133545}, | ||
{2.4010000228881836, 8.79699993133545}, {2.800999879837036, | ||
9.597000122070312}}, {{7.5, 9.}, {6.357000350952148, 9.}, | ||
{6.3429999351501465, 9.052000045776367}, {6.340000152587891, | ||
9.105000495910645}, {6.315000534057617, 9.155000686645508}, | ||
{5.914000511169434, 9.955999374389648}, {5.779999732971191, | ||
10.22700023651123}, {5.501999855041504, 10.398000717163086}, | ||
{5.198999881744385, 10.397000312805176}, {4.801000118255615, | ||
10.397000312805176}, {4.801000118255615, 11.197000503540039}, | ||
{3.2009999752044678, 11.197000503540039}, {3.2009999752044678, | ||
10.397000312805176}, {2.800999879837036, 10.397000312805176}, | ||
{2.497999906539917, 10.398000717163086}, {2.2209999561309814, | ||
10.22700023651123}, {2.0850000381469727, 9.954999923706055}, | ||
{1.6850000619888306, 9.155000686645508}, {1.6610000133514404, | ||
9.105999946594238}, {1.6660000085830688, 9.052000045776367}, | ||
{1.6519999504089355, 9.}, {0.5, 9.}, {0.2239999920129776, 9.}, | ||
{0., 8.775999069213867}, {0., 8.5}, {0., 0.5}, | ||
{0., 0.2239999920129776}, {0.2239999920129776, 0.}, {0.5, 0.}, | ||
{7.5, 0.}, {7.776000022888184, 0.}, {8., 0.2239999920129776}, | ||
{8., 0.5}, {8., 8.5}, {8., 8.775999069213867}, | ||
{7.776000022888184, 9.}, {7.5, 9.}}}]}, | ||
FaceForm[RGBColor[0.2901960784313726, 0.5843137254901961, 0.8, 1.]]]}, | ||
ImageSize -> {11., 16.}, PlotRange -> {{-0.5, 8.5}, | ||
{-0.5, 11.697400093078613}}, AspectRatio -> Automatic, | ||
BaselinePosition -> Center -> Center] |
32 changes: 32 additions & 0 deletions
32
...sources/FrontEndResources/WorkspaceChat/CodeBlocks/WorkspaceCodeBlockInsertAndEvaluate.wl
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,32 @@ | ||
(* Created with the Wolfram Language : www.wolfram.com *) | ||
RawBoxes @ ToBoxes @ | ||
Graphics[{Thickness[0.07016411257027613], | ||
Style[{JoinedCurve[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, | ||
{0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, | ||
{0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, | ||
{0, 1, 0}, {0, 1, 0}, {0, 1, 0}}}, | ||
{{{7.126100063323975, 14.347000122070312}, {5.716100096702576, | ||
11.91700005531311}, {3.158100128173828, 13.049000024795532}, | ||
{3.4361002445220947, 10.248000144958496}, {0.7041001319885254, | ||
9.64900016784668}, {2.5631003379821777, 7.548000335693359}, | ||
{0.7041001319885254, 5.446000099182129}, {3.4351003170013428, | ||
4.8470001220703125}, {3.156100034713745, 2.045999526977539}, | ||
{5.716100096702576, 3.177000045776367}, {7.126100063323975, | ||
0.7469997406005859}, {8.536100029945374, 3.175999641418457}, | ||
{11.094099998474121, 2.0450000762939453}, {10.816099882125854, | ||
4.845000267028809}, {13.548099994659424, 5.445000648498535}, | ||
{11.689099788665771, 7.546000003814697}, {13.548099994659424, | ||
9.648000240325928}, {10.817099809646606, 10.247000217437744}, | ||
{11.096100091934204, 13.04800009727478}, {8.536100029945374, | ||
11.91700005531311}, {7.126100063323975, 14.347000122070312}}}, | ||
CurveClosed -> {1}]}, CapForm["Butt"], JoinForm[{"Miter", 1.}], | ||
Thickness[0.05262308442770709], RGBColor[0.2901960784313726, | ||
0.5843137254901961, 0.8, 1.]], | ||
Style[{FilledCurve[{{{0, 2, 0}, {0, 1, 0}, {0, 1, 0}}}, | ||
{{{5.526100158691406, 10.766900062561035}, {5.526100158691406, | ||
4.3668999671936035}, {10.32610034942627, 7.582900285720825}, | ||
{5.526100158691406, 10.766900062561035}}}]}, | ||
FaceForm[RGBColor[0.2901960784313726, 0.5843137254901961, 0.8, 1.]]]}, | ||
ImageSize -> {16., 17.}, PlotRange -> {{-0.5, 14.752300262451172}, | ||
{-0.5, 15.594200134277344}}, AspectRatio -> Automatic, | ||
BaselinePosition -> Center -> Center] |
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
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
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
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
Oops, something went wrong.