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

Suggestions and Improvements #1

Open
ArchBlood opened this issue Nov 27, 2022 · 5 comments
Open

Suggestions and Improvements #1

ArchBlood opened this issue Nov 27, 2022 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ArchBlood
Copy link
Contributor

Hello and good evening;

I like the module very much after testing it out for the first time, here are some ideas that could improve it.

  1. Depending on the user, the content can vary on time and could timeout as well, in this case I believe it would be best to configure a set time limit as well as an exception in case of a timeout.
  2. Not all content is moved, meaning comments and replies remain owned by the original content owner and is still lost during profile deletion.
  3. In the case where a profile is being deleted at the same time as the content being moved, there should be an exception preventing the profile from being deleted while the content moving is in queue, otherwise the queue should be cancelled if this can't be prevented.

Hope that you have a good rest of your day.

Your friends at @GreenMeteor

@marc-farre
Copy link
Member

Thanks a lot for these advises! I'll have a look to them as soon as possible.
I planned to propose the module to the marketplace for free, so anybody can send PR to make the module better!
And FYI: https://github.com/cuzy-app/humhub-modules-move-content/blob/main/docs/TODOS.md

@marc-farre marc-farre added enhancement New feature or request help wanted Extra attention is needed labels Nov 27, 2022
@ArchBlood
Copy link
Contributor Author

Looking over the changes it seems that the checkbox is off

Sample

Screenshot_1
https://github.com/cuzy-app/humhub-modules-move-content/blob/4016d8889ae22aba937bc9e13ca86ce6cf896a49/views/user/index.php#L22-L31

Slight Fix

Screenshot_2

<div class="container-fluid">
    <div class="panel-heading"><?= $title ?></div>
    <div class="panel-body">
        <?php $form = ActiveForm::begin(['id' => 'move-content']); ?>
        <div class="form-group">
            <?= $form->field($model, 'sourceUserGuid')->widget(UserPickerField::class); ?>
            <?= $form->field($model, 'targetUserGuid')->widget(UserPickerField::class); ?>
            <?= $form->field($model, 'moveProfileContent')->checkbox(); ?>
        </div>
        <div class="form-group">
            <?= Button::save()->submit(); ?>
        </div>
        <?php ActiveForm::end(); ?>
    </div>
</div>

@marc-farre
Copy link
Member

Thanks for informing me.
This is strange. What theme are you using? With Humhub native theme and Humhub 1.12 it's okay for me:
image

Fields are already in form-group:
image

@ArchBlood
Copy link
Contributor Author

Thanks for informing me. This is strange. What theme are you using? With Humhub native theme and Humhub 1.12 it's okay for me: image

Fields are already in form-group: image

Looks to be an issue with the updater module not clearing the cache after updating, after manually clearing it seems to be working correctly in the beta version again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants