Nikeev / sesdashboard

Analytics and activity tracking dashboard for AWS Simple Email Service
https://sesdashboard.com/
MIT License
86 stars 27 forks source link

Customization #30

Closed sickyness-cham closed 2 years ago

sickyness-cham commented 2 years ago

Is there any documentation on Customizing the looks of the dashboard? Im trying to modify but having an issue actually finding where I need to edit.

sickyness-cham commented 2 years ago

Never mind just found it.

If anyone else stumbles on this, - the base is located (I think) in /templates/base.html.twig

ok still haven't found it, changing the base twig doesn't change anything, is there something I'm missing?

Nikeev commented 2 years ago

Hello!

Yes, layout customizations could be made in /templates folder. To see any changes you need to clear caches. For regular installation run:

$ ./bin/console cache:clear
$ ./bin/console cache:warmup

For docker installation run:

$ docker exec -it sesdashboard-php-fpm ./bin/console cache:clear
$ docker exec -it sesdashboard-php-fpm ./bin/console cache:warmup

While developing you could also set APP_ENV=dev in your .env.local configuration file. Dev mode will not require cache clear command on each change.

sickyness-cham commented 2 years ago

Hello!

Yes, layout customizations could be made in /templates folder. To see any changes you need to clear caches. For regular installation run:

$ ./bin/console cache:clear
$ ./bin/console cache:warmup

For docker installation run:

$ docker exec -it sesdashboard-php-fpm ./bin/console cache:clear
$ docker exec -it sesdashboard-php-fpm ./bin/console cache:warmup

While developing you could also set APP_ENV=dev in your .env.local configuration file. Dev mode will not require cache clear command on each change.

Ahha, it was the cache:clear I was missing, thank you very much really appreciate it.

sickyness-cham commented 2 years ago

@Nikeev just another quick one if I may please sir, Do you know if it is possible to add additional items to the activity log?

i thought maybe that adding additional lines within the fields section of activityApp.vue with key: 'source' would have added an additional column in with the sending email address you know rather than having to click an actual message to view that info?

Nikeev commented 2 years ago

Yes, it's possible to add additional items to the activity log. I don't have such plans for now, but you could do it manually.

API table response already should have source field, so you have to modify ActivityApp.vue with new column display. Or include specific data in existing column.

To see changes you need to compile new scripts yarn build

sickyness-cham commented 2 years ago

@Nikeev thanks very much for your help in this, I'm not entirely sure where I'm running yarn build from, so ill have to do some googling. thank you very much for your time really appreciate it.