Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced Update UX #469

Merged
merged 3 commits into from
Dec 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The Doki Theme: Jetbrains IDEs
![Version](https://img.shields.io/jetbrains/plugin/v/10804)
![Build](https://github.com/doki-theme/doki-theme-jetbrains/workflows/Release/badge.svg)

### https://doki-theme.unthrottled.io/

## Quick Theme Preview

![Themes](./assets/screenshots/themes.webp)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
// Custom plugin for building all of the themes
id("doki-theme-plugin")
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.5.31"
id("org.jetbrains.kotlin.jvm") version "1.6.0"
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
id("org.jetbrains.intellij") version "1.2.0"
// detekt linter - read more: https://detekt.github.io/detekt/gradle.html
Expand Down
4 changes: 4 additions & 0 deletions changelog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
---

# 22.0.1 [Better Update UX]

- Enhanced the plugin update notification to be more visually pleasing.

# 22.0.0 [Holiday Release]

**3 New Dark Themes!**
Expand Down
5 changes: 3 additions & 2 deletions changelog/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 22.0.0 [Holiday Release]
# Holiday Release!

**3 New Dark Themes!**

Expand All @@ -20,4 +20,5 @@
- Updated the Bookmark Mnemonic icons to be themed.
- Themed settings tags.
- Themed the settings menu for the EduTools plugin.
- Updated the debugger smart step-into colors.
- Updated the debugger smart step-into colors.
- Enhanced the plugin update notification to be more visually pleasing.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -> https://www.jetbrains.org/intellij/sdk/docs/reference_guide/intellij_artifacts.html

pluginGroup = io.unthrottled
pluginVersion = 22.0.0
pluginVersion = 22.0.1
pluginSinceBuild = 203.7148.57
pluginUntilBuild = 213.*

Expand Down
13 changes: 0 additions & 13 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
pluginManagement {
repositories {
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }

mavenCentral()

maven { url 'https://plugins.gradle.org/m2/' }

maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }

gradlePluginPortal()
}
}
rootProject.name = 'doki-theme-jetbrains'
14 changes: 8 additions & 6 deletions src/main/kotlin/io/unthrottled/doki/TheDokiTheme.kt
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,14 @@ class TheDokiTheme : Disposable {
.ifPresent { version ->
if (version != ThemeConfig.instance.version) {
ThemeConfig.instance.version = version
StartupManager.getInstance(project).runWhenProjectIsInitialized {
UpdateNotification.display(
project,
version,
isNewUser,
)
ThemeManager.instance.currentTheme.ifPresent {
StartupManager.getInstance(project).runWhenProjectIsInitialized {
UpdateNotification.display(
project,
version,
isNewUser,
)
}
}
}

Expand Down
Loading