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

[Tweak] AGhost Action Icons #179

Merged
merged 4 commits into from
Dec 23, 2024

Conversation

PuroSlavKing
Copy link
Member

@PuroSlavKing PuroSlavKing commented Dec 21, 2024

Описание PR

Ну типа иконки для акшенов агоста, вместо пустых консолей, я осень старавс, кто-нибудь другой поправит.


Медиа

Список

Example Media Embed


Изменения

Copy link
Contributor

coderabbitai bot commented Dec 21, 2024

Обзор

Изменения включают обновление иконок для действий администратора-призрака в файле admin_ghost.yml. Иконки перемещены из Structures/Machines/parts.rsi в новый путь _White/Interface/Actions/consoles.rsi с соответствующими состояниями для каждого действия. Также добавлен новый файл метаданных meta.json для описания свойств ресурса иконок.

Изменения

Файл Описание изменений
Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml Обновлены пути и состояния иконок для действий администратора-призрака:
- ActionAGhostShowSolar
- ActionAGhostShowCommunications
- ActionAGhostShowRadar
- ActionAGhostShowCargo
- ActionAGhostShowCrewMonitoring
- ActionAGhostShowStationRecords
Resources/Textures/_White/Interface/Actions/consoles.rsi/meta.json Добавлен новый файл метаданных с информацией о лицензии, размере и состояниях ресурса

Предлагаемые метки

Changes: Sprite, Status: Needs Review

Предлагаемые рецензенты

  • Spatison

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 994140c and cef49ca.

⛔ Files ignored due to path filters (6)
  • Resources/Textures/_White/Interface/Actions/consoles.rsi/cargo.png is excluded by !**/*.png
  • Resources/Textures/_White/Interface/Actions/consoles.rsi/communication.png is excluded by !**/*.png
  • Resources/Textures/_White/Interface/Actions/consoles.rsi/crew.png is excluded by !**/*.png
  • Resources/Textures/_White/Interface/Actions/consoles.rsi/radar.png is excluded by !**/*.png
  • Resources/Textures/_White/Interface/Actions/consoles.rsi/records.png is excluded by !**/*.png
  • Resources/Textures/_White/Interface/Actions/consoles.rsi/solar.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml (6 hunks)
  • Resources/Textures/_White/Interface/Actions/consoles.rsi/meta.json (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • Resources/Textures/_White/Interface/Actions/consoles.rsi/meta.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml (1)

116-117: Изменения выглядят согласованными

Все изменения следуют единому шаблону и правильно структурированы. Однако есть несколько предложений по улучшению:

  1. Комментарии "WWDP-Edit" можно удалить, так как система контроля версий уже отслеживает авторство изменений
  2. Для улучшения читаемости рекомендуется использовать многострочный YAML синтаксис для компонентов InstantAction

Предлагаемый формат:

  - type: InstantAction
-   icon: { sprite: _White/Interface/Actions, state: solar } # WWDP-Edit
-   iconOn: _White/Interface/Actions/solar.png # WWDP-Edit
+   icon:
+     sprite: _White/Interface/Actions
+     state: solar
+   iconOn: _White/Interface/Actions/solar.png

Also applies to: 129-130, 142-143, 155-156, 168-169, 181-182

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between baf9217 and 02044cb.

⛔ Files ignored due to path filters (6)
  • Resources/Textures/_White/Interface/Actions/cargo.png is excluded by !**/*.png
  • Resources/Textures/_White/Interface/Actions/communication.png is excluded by !**/*.png
  • Resources/Textures/_White/Interface/Actions/crew.png is excluded by !**/*.png
  • Resources/Textures/_White/Interface/Actions/radar.png is excluded by !**/*.png
  • Resources/Textures/_White/Interface/Actions/records.png is excluded by !**/*.png
  • Resources/Textures/_White/Interface/Actions/solar.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml (6 hunks)
  • Resources/Textures/_White/Interface/Actions/meta.json (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • Resources/Textures/_White/Interface/Actions/meta.json
🔇 Additional comments (1)
Resources/Prototypes/Entities/Mobs/Player/admin_ghost.yml (1)

116-117: Проверка наличия новых иконок

Необходимо убедиться, что все новые пути к иконкам существуют в файловой системе.

Also applies to: 129-130, 142-143, 155-156, 168-169, 181-182

✅ Verification successful

Все иконки успешно проверены и существуют

Проверка показала, что все новые иконки присутствуют в директории Resources/Textures/_White/Interface/Actions/:

  • solar.png
  • communication.png
  • radar.png
  • cargo.png
  • crew.png
  • records.png

Изменения корректны и все необходимые файлы находятся в правильном месте.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check if all new icon files exist
fd -e png -e rsi "_White/Interface/Actions" | grep -E "solar|communication|radar|cargo|crew|records"

Length of output: 100


Script:

#!/bin/bash
# Let's try searching in Resources directory specifically and check both texture files and RSI directories
cd Resources/Textures && find . -type f -o -type d | grep -i "_White/Interface/Actions"
cd ../
find . -type f -o -type d | grep -i "_White/Interface/Actions"

Length of output: 820


Script:

#!/bin/bash
# Let's also check the entire codebase for any references to these paths
rg -l "_White/Interface/Actions"

Length of output: 90


Script:

#!/bin/bash
# Check for any similar icon paths in the codebase
rg "Interface/Actions" -A 2 -B 2

Length of output: 27033

@PuroSlavKing
Copy link
Member Author

что не так нахуй???

Copy link
Collaborator

@Remuchi Remuchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
madman. I like it

@Remuchi
Copy link
Collaborator

Remuchi commented Dec 22, 2024

also linter fail valid. Fix it

Copy link
Contributor

RSI Diff Bot; head commit cef49ca merging into baf9217
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/_White/Interface/Actions/consoles.rsi

State Old New Status
cargo Added
communication Added
crew Added
radar Added
records Added
solar Added

@Spatison Spatison merged commit 4790d35 into WWhiteDreamProject:master Dec 23, 2024
12 of 13 checks passed
@PuroSlavKing PuroSlavKing deleted the AGhostActionIcons branch December 24, 2024 09:51
PuroSlavKing pushed a commit to PuroSlavKing/skibidi-white that referenced this pull request Dec 24, 2024
* snowballs

* nah

* reviewe

* oops + better offset

* a
Spatison pushed a commit that referenced this pull request Dec 25, 2024
* Снежки (#179)

* snowballs

* nah

* reviewe

* oops + better offset

* a

* migrate

* fixiki

* namespaces

* edit flavors

---------

Co-authored-by: csqrb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants