Skip to content

Meta Issue #38

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

Closed
17 of 22 tasks
ssweber opened this issue Feb 3, 2023 · 2 comments
Closed
17 of 22 tasks

Meta Issue #38

ssweber opened this issue Feb 3, 2023 · 2 comments

Comments

@ssweber
Copy link
Collaborator

ssweber commented Feb 3, 2023

Thank you so much for get all those changes and fixes in there! My activity will slow down as well; master now resolves all outstanding issues for my work project! It's been educational to work on this project... I hope my convoluted attempts at fixing things didn't side-track you from the true solutions too much.

Going forward I'll list bug/enhancements/code style below, and when I get time flesh them out in a linked issue. If you approve (and they are simple enough), I'll create on my branch and do a pull-request one-at-a-time.

Code:

Features:

Bugs/Document Behavior:

Documentation Improvements

  • edit_protect=False on 1 ss.action will turn off edit_protect.
  • [SUPPORTED] - Make it clear on tutorial doc that quick_editor = False changes ss.records so that they wont all have edit buttons next to them. Update Images to show quick_editor button.
  • How to edit_protect a sg.CalendarButton
  • Generate Call Reference
  • Add docstrings for selector function
  • New mega boiler-plate example, with tabs, nested tabs, prompt save and save on exit, etc.

Python version support

  • Test for version support. Current dict union '|' in load_iconpack is 3.9
@PySimpleSQL
Copy link
Owner

PySimpleSQL commented Feb 3, 2023

Thanks again for the great help in fleshing out those issues. Sorry if at times I had to discard your hard work - the creativity of how you handled the same things was awesome to see (especially not being too familiar with the code base) - there were just a lot of opportunities to reduce bloat by using features that were already present with very minimal changes. In the end, the project feels much more complete already!

I agree with pretty much everything you have to say up above - I'm from the line of thought "First get it working, then optimize and improve". I feel like the base code is working great and it's a perfect time to start the next phase of cleanup and optimization.

I have a comments a couple of the items you listed above:

If Parent A is selected, cannot change to different Parent (eg B) on Child record.

Yes, this is a current limitation, as at the Query level only one record can be selected at a time. The way to handle this is to just create another Form which has it's own Queries and therefore can have independent selection. It was a design feature that was considered very early on as a trade-off for control and ease of use. I definitely need to make an example for this case - not only to show its use but to identify areas for improvement (like built-in glue code to tie the forms together in a sense)

quick_editor=False to sg.Comboboxs so that they wont all have edit buttons next to them.

ss.record() currently supports this - though it should apply to more than just comboboxes. I may look at this one soon.

One of my long term goals coming up is to abstract the database interactions so that MySql, Postgre etc. can be used as a backed as easily as SQLite3.

If you don't mind, I may pick away at some of these issues as well. I'll be sure to reference this ticket if I do to avoid duplication of efforts

PySimpleSQL pushed a commit that referenced this issue Feb 3, 2023
Start using the Pep 8 compliant SG calls
@ssweber
Copy link
Collaborator Author

ssweber commented Mar 21, 2023

pretty much took care of this, closing.

@ssweber ssweber closed this as completed Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants