* [WIP] Start building the bridge
* Update dependencies, remove unused ones
* [WIP] Continue building the bridge
* [WIP] Continue building the bridge (got to Chip)
Includes tweaks on wrong values etc
* [WIP] Fill out infra for IntUiBridge.kt
Still not done!
* [WIP] Fill out infra for IntUiBridge.kt
Still not done!
* [WIP] More work
* [WIP] More progress (missing text fields & tabs)
* Finish filling in the bridge, then 🤞
* Make default fallbacks explicit, fix some issues
* Delete unused code
* Implement New UI icon mapping support in Bridge
Note: it doesn't work yet, since IconMapLoader.loadIconMapping()
complains that the mapping isn't done (when it is, since it's done in
the IDE pre-loading).
I suspect this is a classloading issue.
* More cleanup, stuff's still broken yey
* More fixin' stuff, hopefully the CI too
* Fix CI warning
* Refactor UI Component Styling in Jewel to Support defaults (#104)
* Refactor UI Component Styling in Jewel to Support defaults
Retrieving text styles requires coroutines. This commit aims to allow the theme to start with text defaults and as soon as text styles get retrieved, the theme gets updated.
* Fixes according to MR comments
* Fix this thing
---------
Co-authored-by: Sebastiano Poggi <sebp@google.com>
* More fixes to components/theme, cleanups
* Improve showcase and simplify text area (bye hints)
* Improve showcase and simplify text area (bye hints), fix more things
* Avoid crashing on old UI
---------
Co-authored-by: Lamberto Basti <basti.lamberto@gmail.com>
GitOrigin-RevId: b1d9fa9ec52c64833cd14a453c524195eb8932bd
The publishing tasks for sources and javadoc jars in jewel-publish.gradle.kts were updated. The 'from' method now has a map function and 'into' method is replaced with 'destinationDirectory' to align with the newest gradle conventions. This change makes the build script more maintainable and future-proof.
GitOrigin-RevId: bd9a816da40ee581a9518a87603f073a8ea64e8b
* "Refactor theme generator and optimize sarif results"
This commit includes the optimization and refactor of the codebase. In the build.gradle files, the 'intUiLight' and 'intUiDark' themes have been registered and their properties have been updated. The Theme Generation plugin has been changed to use project conventions and the color group reading process was simplified. There is an optimized caching strategy particularly for SVG loading. Sarif results are now generated with kotlinx.sarif, which allows fluent API for handling the sarif format. Also, it includes switching from the java-sarif library to kotlin-sarif.
The changes enhance the robustness and reliability of the code. They also make it easier to understand, modify, and maintain the code. And using Kotlin-based libraries optimizes the performance and simplifies future changes in the project.
* Update build config for cleaner syntax
The build config file has been updated to use a cleaner syntax. The redundant use of .set() has been replaced with direct assignment for better readability. Also, added a suppression for UnstableApiUsage warning at the top of the files.
GitOrigin-RevId: 729a71a47ee0126f69f3f4ef36293661df48b3f7
* Patch colours in SVGs while loading them
* Logic to load the right icon file based on state and theme (1st pass)
* Import the Intellij Light (old UI) SVG files in standalone Int UI
GitOrigin-RevId: 33f5a2d8c972a6b74822cb7e591c0d2691abc5c6
Now we also load the icon overrides (including the colour mappings).
The tasks and plugin have been renamed to reflect this. So have the
various model interfaces, and the code accessing them.
There's a bunch of cleanup involved, too, but it shouldn't be too noisy.
GitOrigin-RevId: e800b51329337158cb315c0601b96418d6b8729a
* We need to change the architecture to be bridge-compatible
* Lots of cleanup and refactoring
* Some features/customisability added
GitOrigin-RevId: 8550276f49a9967f4e00603e4e59a2df772e2b32
This change introduces a new interface `TreeGeneratorScope`, allowing both `TreeBuilder` & `ChildrenGeneratorScope` to implement unified set of methods. This ensures safer and generalized way to add and generate nodes and leaves. Also, it removed unnecessary `isOpen` attribute from `Node` class as the state should be managed by client, not by the model class. This commit helps in standardizing the way elements are added and generated across classes.
GitOrigin-RevId: 86e19a79faf4483a6cfbb29b4a5a31ae42767705
- Implement MergeSarifTask to combine SARIF reports during the "check" task
- Change GITHUB_REF to a nullable value to handle missing environment variables
This commit adds a MergeSarifTask in build.gradle.kts to merge SARIF reports from static code analysis, ensuring consolidated results. Additionally, the GITHUB_REF value is made nullable to prevent potential errors when the environment variable is not present.
GitOrigin-RevId: 7505dcfd7330135d5af2a5a87aeba7c459df51c3
Implemented a new task in MergeSarifTask.kt for merging multiple SARIF files into a single file, to give a consolidated view of static analysis results. Updated jewel.gradle.kts to register the new task and include/exclude necessary files.
GitOrigin-RevId: 6cdc145717d554be8572044ea059063180f75c21
Enable typesafe project accessors in settings.gradle.kts and add GitHub Actions workflow for publishing artifacts to Space.
- Enabled feature preview for typesafe project accessors in buildSrc settings.gradle.kts
- Added GitHub Actions workflow to publish artifacts in Space on release or push to main branch
GitOrigin-RevId: af33fc0028cd05cf06548a27ad31232493c85c6d
Removed build-logic folder containing the convention, sarif, and other plugin logic.
Instead, created buildSrc folder and added the necessary Kotlin DSL scripts.
Reason:
Simplify the plugin configuration and apply conventions in an easier way using buildSrc.
Added publication for publishable modules to Package Search Space repository
GitOrigin-RevId: a02e6e62a2cce8011a722682e45483ce5d9a2b56
* Fix button focus style
- Make pressed same as normal state style
- Draw halo border as outer style
- Fix double focusable
* Remove commented code
GitOrigin-RevId: f9137f67d9f92b5c6c28263fc60bc93dc072e8e6
- Fix double focusable
- Remove duplicate key event
- Use hoverable modifier to get hovered state
GitOrigin-RevId: 72544849ca00394967050fad431b7487945a11a5
It's not compatible with Gradle 7.6, and it doesn't get us many
valuable insights over Detekt + ktlint.
GitOrigin-RevId: c81d7f86c0e5be74ec2b123d2d88f0a2fbadfcf4