Skip to content

Commit 123fd94

Browse files
Fix Grid Editor bug. (#2977)
* Improve docinfo (#2972) * Change some imports to use installed robot * Use installed Robot Framework libraries in libdoc import modules * Add attributes and is_private for UserKeywords * Show private keyword setting in ItemInfo Details * Sort list of suggestions, fix left, right arrows. WIP use Tab to select and edit. DEBUG * ENTER fills cell with selection. Tab to select and keep edit working, WIP * Fixed list selection in Cell Editor. Values in Grid not saved to model WIP * Update documentation * DEBUG test_namespace * DEBUG XML SPEC Import * Skip some XML SPEC Import unit tests * Condition utests on Windows * Correct colorization for private kws from different files. Need to condition by Keywords table. * Fix unit tests * conditions different file and Keywords. WIP * Complete solution for private keywords. Need to fix indication of modified items * Update CHANGELOG * Add CodeBoarding Action (#2975) * Add action.yml from CodeBoarding * Update release notes 2.1.5 * Development version and CodeBoarding Generate action * Fix Settings editor in Wndows 11 and Python 3.13.2 * Update codeboarding_generate.yml output dir * Version 2.1.5.1
1 parent a4c2cca commit 123fd94

File tree

14 files changed

+836
-104
lines changed

14 files changed

+836
-104
lines changed

.github/workflows/codeboarding.yml

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
name: CodeBoarding Action for RIDE
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
repository_url:
7+
description: 'Repository URL to test with'
8+
required: false
9+
default: 'https://github.com/robotframework/RIDE'
10+
type: string
11+
source_branch:
12+
description: 'Source branch for comparison'
13+
required: false
14+
default: 'master'
15+
type: string
16+
target_branch:
17+
description: 'Target branch for comparison'
18+
required: false
19+
default: 'develop'
20+
type: string
21+
output_format:
22+
description: 'Output format for documentation'
23+
required: false
24+
default: '.md'
25+
type: string
26+
27+
pull_request:
28+
branches: [ master, develop ]
29+
types: [opened, synchronize, reopened]
30+
31+
schedule:
32+
# Run daily at 2 AM UTC
33+
- cron: '0 2 * * *'
34+
35+
jobs:
36+
update-docs-action-usage:
37+
runs-on: ubuntu-latest
38+
permissions:
39+
contents: write
40+
pull-requests: write
41+
timeout-minutes: 60
42+
43+
steps:
44+
- name: Checkout repository
45+
uses: actions/checkout@v4
46+
with:
47+
token: ${{ secrets.GITHUB_TOKEN }}
48+
fetch-depth: 0 # Required to access branch history
49+
50+
# Determine branches based on context
51+
- name: Set branch variables
52+
id: set-branches
53+
run: |
54+
if [ "${{ github.event_name }}" = "pull_request" ]; then
55+
echo "source_branch=${{ github.head_ref }}" >> $GITHUB_OUTPUT
56+
echo "target_branch=${{ github.base_ref }}" >> $GITHUB_OUTPUT
57+
elif [ "${{ github.event.inputs.source_branch }}" != "" ] && [ "${{ github.event.inputs.target_branch }}" != "" ]; then
58+
echo "source_branch=${{ github.event.inputs.source_branch }}" >> $GITHUB_OUTPUT
59+
echo "target_branch=${{ github.event.inputs.target_branch }}" >> $GITHUB_OUTPUT
60+
else
61+
# Default to current branch and main
62+
echo "source_branch=${{ github.ref_name }}" >> $GITHUB_OUTPUT
63+
echo "target_branch=main" >> $GITHUB_OUTPUT
64+
fi
65+
66+
- name: Fetch CodeBoarding Documentation
67+
id: codeboarding
68+
uses: ./
69+
with:
70+
repository_url: ${{ github.event.inputs.repository_url }}
71+
source_branch: ${{ steps.set-branches.outputs.source_branch }}
72+
target_branch: ${{ steps.set-branches.outputs.target_branch }}
73+
output_directory: 'doc/.codeboarding'
74+
output_format: ${{ github.event.inputs.output_format || '.md' }}
75+
76+
- name: Display Action Results
77+
run: |
78+
echo "Documentation files created: ${{ steps.codeboarding.outputs.markdown_files_created }}"
79+
echo "JSON files created: ${{ steps.codeboarding.outputs.json_files_created }}"
80+
echo "Documentation directory: ${{ steps.codeboarding.outputs.output_directory }}"
81+
echo "JSON directory: ${{ steps.codeboarding.outputs.json_directory }}"
82+
echo "Has changes: ${{ steps.codeboarding.outputs.has_changes }}"
83+
84+
# Check if we have any changes to commit
85+
- name: Check for changes
86+
id: git-changes
87+
run: |
88+
if [ -n "$(git status --porcelain)" ]; then
89+
echo "has_git_changes=true" >> $GITHUB_OUTPUT
90+
else
91+
echo "has_git_changes=false" >> $GITHUB_OUTPUT
92+
fi
93+
94+
- name: Create Pull Request
95+
if: steps.git-changes.outputs.has_git_changes == 'true' && steps.codeboarding.outputs.has_changes == 'true'
96+
uses: peter-evans/create-pull-request@v5
97+
with:
98+
token: ${{ secrets.GITHUB_TOKEN }}
99+
commit-message: "docs: update codeboarding documentation"
100+
title: "📚 CodeBoarding Documentation Update"
101+
body: |
102+
## 📚 Documentation Update
103+
104+
This PR contains updated documentation files fetched from the CodeBoarding service.
105+
106+
### 📊 Summary
107+
- **Documentation files created/updated**: ${{ steps.codeboarding.outputs.markdown_files_created }}
108+
- **JSON files created/updated**: ${{ steps.codeboarding.outputs.json_files_created }}
109+
- **Documentation directory**: `${{ steps.codeboarding.outputs.output_directory }}/`
110+
- **JSON directory**: `${{ steps.codeboarding.outputs.json_directory }}/`
111+
- **Source branch**: `${{ steps.set-branches.outputs.source_branch }}`
112+
- **Target branch**: `${{ steps.set-branches.outputs.target_branch }}`
113+
- **Output format**: `${{ github.event.inputs.output_format || '.md' }}`
114+
- **Repository analyzed**: `${{ steps.codeboarding.outputs.repo_url }}`
115+
116+
### 🔍 Changes
117+
Files have been updated with fresh documentation content based on code changes between branches.
118+
119+
---
120+
121+
🤖 This PR was automatically generated by the CodeBoarding documentation update workflow.
122+
branch: docs/codeboarding-update
123+
base: ${{ steps.set-branches.outputs.target_branch }}
124+
delete-branch: true
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Generate Documentation
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
types: [opened, synchronize, reopened]
8+
9+
jobs:
10+
documentation:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0 # Required to access branch history
17+
18+
- name: Generate Documentation
19+
uses: codeboarding/codeboarding-ghaction@v1
20+
with:
21+
repository_url: ${{ github.server_url }}/${{ github.repository }}
22+
source_branch: ${{ github.head_ref || github.ref_name }}
23+
target_branch: ${{ github.base_ref || 'main' }}
24+
output_directory: 'doc'
25+
output_format: '.md'
26+
27+
- name: Upload Documentation
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: documentation
31+
path: |
32+
doc/.codeboarding/

CHANGELOG.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ The format is based on http://keepachangelog.com/en/1.0.0/[Keep a Changelog]
77
and this project adheres to http://semver.org/spec/v2.0.0.html[Semantic Versioning].
88

99
// == https://github.com/robotframework/RIDE[Unreleased]
10+
11+
== https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.1.5.1.rst[2.1.5.1] - 2025-07-26
12+
13+
=== Fixed
14+
- Fix faulty cell editor in settings of Grid Editor which would prevent to change to Text Editor and Run tabs.
15+
1016
== https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.1.5.rst[2.1.5] - 2025-07-25
1117

1218
=== Added

README.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,26 @@ You can use the tag *robotframework-ide* to search and ask on https://stackoverf
2222

2323
== **Welcome to the development version of RIDE - next major release will be version 2.2**
2424

25-
If you are looking for the latest released version, you can get the source code from **https://github.com/robotframework/RIDE/releases[releases]** or from branch **https://github.com/robotframework/RIDE/tree/release/2.1.5[release/2.1.5]**
25+
If you are looking for the latest released version, you can get the source code from **https://github.com/robotframework/RIDE/releases[releases]** or from branch **https://github.com/robotframework/RIDE/tree/release/2.1.5.1[release/2.1.5.1]**
2626

27-
See the https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.1.5.rst[release notes] for latest release version 2.1.5
27+
See the https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.1.5.1.rst[release notes] for latest release version 2.1.5.1
2828

2929
**Version https://github.com/robotframework/RIDE/tree/release/2.0.8.1[2.0.8.1] was the last release supporting Python 3.6 and 3.7**
3030

3131
**Version https://github.com/robotframework/RIDE/tree/release/1.7.4.2[1.7.4.2] was the last release supporting Python 2.7**
3232

3333

34-
**The current development version is based on 2.1.5, supports Python from 3.8 up to 3.14 (25th July 2025).**
34+
**The current development version is based on 2.1.5.1, supports Python from 3.8 up to 3.14 (26th July 2025).**
3535

3636
Currently, the unit tests are tested on Python 3.10, 3.11 and 3.13 (3.13 is the recommended version).
3737
We now have an experimental workflow on Fedora Linux 41, with wxPython 4.2.3 and Python 3.14.b2.
3838
Likewise, the current version of wxPython, is 4.2.3, but RIDE is known to work with 4.0.7, 4.1.1 and 4.2.2 versions.
3939

40-
(3.8 <= python <= 3.14) Install current released version (*2.1.5*) with:
40+
(3.8 <= python <= 3.14) Install current released version (*2.1.5.1*) with:
4141

4242
`pip install -U robotframework-ride`
4343

44-
(3.8 <= python <= 3.14) Install current development version (**2.1.5**) with:
44+
(3.8 <= python <= 3.14) Install current development version (**2.1.5.1**) with:
4545

4646
`pip install -U https://github.com/robotframework/RIDE/archive/develop.zip`
4747

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,26 @@ You can use the tag *robotframework-ide* to search and ask on [StackOverflow](ht
2121

2222
## **Welcome to RIDE - next major release will be version 2.2**
2323

24-
If you are looking for the latest released version, you can get the source code from **[releases](https://github.com/robotframework/RIDE/releases)** or from branch **[release/2.1.4.1](https://github.com/robotframework/RIDE/tree/release/2.1.4.1)**
24+
If you are looking for the latest released version, you can get the source code from **[releases](https://github.com/robotframework/RIDE/releases)** or from branch **[release/2.1.5.1](https://github.com/robotframework/RIDE/tree/release/2.1.5.1)**
2525

26-
See the [release notes](https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.1.4.1.rst) for latest release version 2.1.4.1
26+
See the [release notes](https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.1.5.1.rst) for latest release version 2.1.5.1
2727

2828
**Version [2.0.8.1](https://github.com/robotframework/RIDE/tree/release/2.0.8.1) was the last release supporting Python 3.6 and 3.7**
2929

3030
**Version [1.7.4.2](https://github.com/robotframework/RIDE/tree/release/1.7.4.2) was the last release supporting Python 2.7**
3131

3232

33-
**The current development version is based on 2.1.4.1, supports Python from 3.8 up to 3.14 (24th June 2025).**
33+
**The current development version is based on 2.1.5.1, supports Python from 3.8 up to 3.14 (26th July 2025).**
3434

3535
Currently, the unit tests are tested on Python 3.10, 3.11 and 3.13 (3.13 is the recommended version).
3636
We now have an experimental workflow on Fedora Linux 41, with wxPython 4.2.3 and Python 3.14.b2.
3737
Likewise, the current version of wxPython, is 4.2.3, but RIDE is known to work with 4.0.7, 4.1.1 and 4.2.2 versions.
3838

39-
(3.8 <= python <= 3.14) Install current released version (*2.1.4*) with:
39+
(3.8 <= python <= 3.14) Install current released version (*2.1.5.1*) with:
4040

4141
`pip install -U robotframework-ride`
4242

43-
(3.8 <= python <= 3.14) Install current development version (**2.2dev32**) with:
43+
(3.8 <= python <= 3.14) Install current development version with:
4444

4545
`pip install -U https://github.com/robotframework/RIDE/archive/develop.zip`
4646

@@ -69,6 +69,3 @@ Quality Gate Status: [[!Sonar](https://sonarcloud.io/api/project_badges/measure?
6969

7070
---
7171

72-
## Stargazers over time
73-
74-
[[!Stargazers over time](https://starchart.cc/robotframework/RIDE.svg)]

0 commit comments

Comments
 (0)